I'm having a big problem with Apache and ACL. I have two servers, both running CentOS 6.3, but the first one is running CPanel/WHM and the second one is just Apache, ACL and Samba for local sharing.
In the first box (the one with CPanel), I have a folder called
/test and the owner of this folder is
abc. My Apache is running as user
nobody. If I try to create a directory or file (using PHP, for example), I can't. If I add the user
nobody to the ACL list (
setfacl -Rm u:nobody:rwx /test), now I can write to this folder, even if owner is still
The same scenario doesn't work on second box, with standard Apache (not compiled by CPanel), and I can't figure out why. I have my filesystem mounted with ACL on both machines. I'm using ACL with Samba in the second box without any problem, so it's not an ACL problem itself.
If I change the owner of
nobody, now I can modify that directory with PHP scripts. I just can't use ACL on that second box.