FACL, lost in it's behavior..
FACL, lost in it's behavior..
Hi,
I got FileA
that have 640
a getfacl FileA
give me
txt
# file: FileA # owner: me # group: me user::rw- user:aUser:r-- group::r-x #effective:r-- mask::r-- other::---
So it's give me the expected...
but when I do
bash
chmod 600 aFile getfacl aFile
txt
... user:aUser:r-- #effective:--- ... mask::--- ...
Why suddenly aUser
lost his ability to read the file !?!?!
ACLs on Linux can be a bit weird. If I remember correctly, the ACL mask corresponds to the group bit when using masks. Some more details here:
https://unix.stackexchange.com/questions/65888/setfacl-incorrectly-changes-group-permissions