Hi,
I got FileA
that have 640
a getfacl FileA
give me
# 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
chmod 600 aFile
getfacl aFile
...
user:aUser:r-- #effective:---
...
mask::---
...
Why suddenly aUser
lost his ability to read the file !?!?!
You must log in or # to comment.
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
setfacl -m m:r aFile #re set the mask
solve the problem, but the question is: why the F**** this is happening !?