Re: apache docroot permissions

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



On Wednesday, May 04, 2011 10:49 PM +0200 Kai Schaetzl 
<maillists@xxxxxxxxxxxxx> 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>
_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
http://lists.centos.org/mailman/listinfo/centos


[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]
  Powered by Linux