Mapping NFS4 ACL to POSIX mode #16941
slowfranklin
started this conversation in
General
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi folks!
I have a question related to mapping NFS4 ACL special entries to POSIX mode.
Consider the following case of a file with POSIX mode 0421:
So far, so good. As required for effective POSIX mode permission semantics two deny ACEs are added to the NFS4 ACL.
Now what happens to the mapped POSIX owner permissions if we remove both deny ACEs:
Apparently, as expected, the "x" everyone permission is correctly added to the mapped owner permissions as, as that matches effective permissions of the ACL.
However, the same mapping is not done for group "w" access, so even though the effective permissions allow write access:
...according to the POSIX mode of the owner which is reported "rx" the user should be denied write access.
Any experts on the permission mapping code around? :) Thanks!
Beta Was this translation helpful? Give feedback.
All reactions