httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Olaf van der Spek <olafvds...@gmail.com>
Subject Re: [users@httpd] Apache 2 ignores setgid directory perms
Date Thu, 01 Dec 2005 17:11:22 GMT
On 12/1/05, Sage Weaver <sage@nfusion.com> wrote:
> Apache is a member of the staff group, yes, and that seems to have no
> effect.  Moreover, the directory in which the file is being created is owned
> by the www-data user.
>
> Specifically, I have a "files" directory that is owned by www-data and
> grouped to staff:
>
> $ ls -ld files
> drwxrwsr-x  2 www-data staff 4096 2005-11-28 13:38 files
>
> But the uploaded file doesn't obey the setgid on the directory:
>
> $ ls -l files/upload.test
> -rw-r-----  1 www-data www-data       0 2005-11-28 13:36 files/upload.test
>
> I really need to figure out why this is, and how to fix it.  Does anybody
> have a clue?  Have I missed something in the documentation?

Is user www-data member of the group staff?
Mime
View raw message