[CentOS] apache docroot permissions
Kenneth Porter
shiva at sewingwitch.com
Wed May 4 21:12:32 UTC 2011
On Wednesday, May 04, 2011 10:49 PM +0200 Kai Schaetzl
<maillists at conactive.com> wrote:
> b) have all php files owned by a user and the write area writable by
> apache but owned by the user (*)
> (*) this doesn't work if you create subdirectories because they get the
> wrong permissions and apache can't pass thru
Make the writable directories SGID and any files and subdirectories created
there will inherit the group ownership:
<http://www.library.yale.edu/wsg/docs/permissions/sgid.htm>
More information about the CentOS
mailing list