0
I'm trying to use ACL's to make all new files and folder in a directory belong to a certain group, but it doesn't seem to have any effect. I've run these commands in the directory:
setfacl -d -m group:"groupname":rwx .
setfacl -m group:"groupname":rwx .
New files and folders still belong to the group of the user who created them. Any suggestions?
Huh, thanks. I could have sworn it didn't work, but now it does. It's just not visible in the same way, just like you said. Thanks! – NCLI – 2016-02-16T18:27:10.887
You might have had the 'mask' deny access; in POSIX ACLs, if there is an ACL and someone does
chmod g-rwx
it doesn't change the main group's access, it changes the access for all ACL entries as well. – user1686 – 2016-02-16T18:33:46.410Makes sense. Thank you, I'll keep that in mind. – NCLI – 2016-02-16T19:07:05.680