Not sure about ACL permissions

Posted by Darko Miletic on Super User See other posts from Super User or by Darko Miletic
Published on 2010-05-30T18:40:58Z Indexed on 2010/05/30 21:43 UTC
Read the original article Hit count: 429

Filed under:
|
|
|

I'm writing up something about ACL usage on CentOS but since I still do not have a box ready I would like to ask something.

Let us assume we have a folder /var/www/test

If I do this in terms of permissions:

/bin/chown -R root:root /var/www/test/
/bin/chmod -R u=rwx,go= /var/www/test/
/usr/bin/setfacl -R -m u:apache:rwx /var/www/test/

Will user apache be able to change owner of folder test or of any particular file within that folder?

If answer is yes shall I than use group instead of user?

© Super User or respective owner

Not sure about ACL permissions

Posted by Darko Miletic on Stack Overflow See other posts from Stack Overflow or by Darko Miletic
Published on 2010-05-30T18:40:58Z Indexed on 2010/05/30 18:42 UTC
Read the original article Hit count: 429

Filed under:
|
|

I'm writing up something about ACL usage on CentOS but since I still do not have a box ready I would like to ask something.

Let us assume we have a folder /var/www/test

If I do this in terms of permissions:

/bin/chown -R root:root /var/www/test/
/bin/chmod -R u=rwx,go= /var/www/test/
/usr/bin/setfacl -R -m u:apache:rwx /var/www/test/

Will user apache be able to change owner of folder test or of any particular file within that folder?

If answer is yes shall I than use group instead of user?

© Stack Overflow or respective owner

Related posts about linux

Related posts about filesystem