You’re not alone.
What Are ACL Masks?
ACL masks are a way to ensure permissions interoperability with programs and utilities that aren’t ACL-aware.
aslysun/Shutterstock.com
To put it another way, ittranslatesACL entries into POSIX permissions for the sake of backward compatibility.
Notice the dot (.)
after the permissions set.
This indicates an SELinux context, which is unrelated to ACLs or ACL masks.
We’ll accomplish this with the setfacl command.
Do you see themaskline in the output of the getfacl command now?
In addition to the manager user’s extended ACL entry, this mask entry has been automatically assigned.
Right now, the read permission equates to the read permission of the existing mask.
Now let’s add another user from a second request, contractor, to the ACL of our file.
This time, however, we need to give them read and write permissions.
But why did the mask entry change to read and write?
Don’t worry though, the group owner permissions are still reflected as the ‘owning group’ ACL entry.
Effective Permissions
We can set the mask entry permissions manually by using the setfacl command.
This is called effective permissions.
Modifying the mask caused this.