Re: [users@httpd] Apache 2 ignores setgid directory perms

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

 



On 12/1/05, Sage Weaver <sage@xxxxxxxxxxx> 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?

[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux