Hello,

Am 11.11.2011 00:06, schrieb Jesse B. Crawford:
Hello,
I am setting up suPHP in an NFS, multi-user environment where it will be
serving webpages from many userdirs (student accounts) as well as from
the standard docroot (university webpage). I am not completely clear on
how setid modes will interact with userdirs. I would like to use
Paranoid mode as it's recommended and will allow me to use UserGroup to
set the docroot to be run as some other user.

Here's what I'm not clear on: in setid mode paranoid, will suPHP
automatically use the user and group of the userdir when serving content
from userdirs?
No, imagine a file/directory is created with root owner/group...
or do I need to add some sort of configuration to Apache
to explicitly tell suPHP which user and group owns the userdir?

You will have to add this per-user:

suPHP_UserGroup (expects user- and groupname)

* Only supported when compiled with setid-mode "force" or "paranoid" *
Specify the user- and groupname to run PHP-scripts with. This setting
can only be used within a<Directory>  or<Location>  context.


André


_______________________________________________
suPHP mailing list
[email protected]
https://lists.marsching.com/mailman/listinfo/suphp

Reply via email to