A permission you just granted with setfacl can show up as something weaker in getfacl. The mask entry is the reason.
setfacl -m m::rx file
getfacl file
The acl(5) man page says the mask denotes the maximum access rights that can be granted by named user entries, named group entries and the owning group entry. The file owner’s entry and the other entry are not limited by it. When an entry asks for more than the mask allows, getfacl adds a comment with the effective permissions. The man page shows this:
user:lisa:rw- #effective:r--
group:toolies:rw- #effective:r--
mask::r--
Both entries say rw-, but the mask is r--, so read is all they get. The setfacl man page uses this very trick as an example: setfacl -m m::rx file revokes write access from all groups and all named users in one go.
By default setfacl recalculates the mask for you, setting it to the union of the permissions of the owning group and all named user and group entries. Two options change that. -n (--no-mask) says do not recalculate it. --mask does recalculate it, even if you gave a mask explicitly.
One more place the mask shows up: when a mask exists, the group permission bits correspond to the mask entry. So the group column in ls -l can look stricter than the group’s real entry, and a chmod on the group bits changes the mask. Look at getfacl first when the numbers do not add up.
Further reading: acl(5) man page, setfacl(1) man page