Re: Ownership doesnt work on Webroot

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

 



Sorry, users:webusers instead of apache:webusers.

On Wed, Sep 1, 2010 at 3:19 PM, James Corteciano <james@xxxxxxxxxxxxxxxx> wrote:
Hi,

I have this webroot /webdir/ with 2775 permission so that any created file/directory by apache inside of /webdir/ will be 'apache:webusers'. However, I noticed when the apache created a new files (fileB) / directories (dirB), the ownership becomes 'apache:apache' and the sticky bit has gone for /webdir/. I'm currently using Wordpress.

[before]
drwxrwsr-x  users webusers /webdir/
drwxrwsr-x  users webusers /webdir/dirA
-rw-rw-r--  users webusers /webdir/fileA

[after]
drwxrwxr-x  users webusers /webdir/
drwxrwxr-x  apache apache /webdir/dirB
-rw-rw-r--  apache apache /webdir/fileB

Why the sticky bit doesn't reflected and the group as well? Has anyone knows how to fix this?

Thanks.

Regards,
James


[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