Owner root gets "Operation not permitted" on chmod and setfacl
I can't figure this riddle out. su as "root" - .htaccess is owned by "root". But can neither chmod not setfacl. File is read-only to me (can't even rename it). I can create an .htaccess2 file in that same directory and manipulate it freely.
[root@mgs-11 BadgleyMischka]# ls -la --group-directories-first --lcontext .htaccess -rw-r--r--. 1 unconfined_u:object_r:httpd_sys_content_t:s0 root root 219 Mar 1 2013 .htaccess [root@mgs-11 BadgleyMischka]# getfacl .htaccess # file: .htaccess # owner: root # group: root user::rw- group::r-- other::r-- [root@mgs-11 BadgleyMischka]# chmod 777 .htaccess chmod: changing permissions of `.htaccess': Operation not permitted [root@mgs-11 BadgleyMischka]# setfacl -m g:Site_Developers:rwx .htaccess setfacl: .htaccess: Operation not permitted
Responses