Why Filesystem ACL commands like `setfacl` and `getfacl` does not work on NFSv4 mounted filesytem?
Environment
- Red Hat Enterprise Linux
- NFSv4.x
Issue
- ACLs do not work with NFS4 shares, as normally expected.
-
Commands like
setfacl
andgetfacl
fails for NFS mount.$setfacl -m u:test:r file setfacl: file: Operation not supported
Resolution
- Managing ACLs over NFSv4 requires a different method. For more information, please refer:
How do I configure NFSv4 Access Control Lists?
Root Cause
-
Support for Linux ACLs over NFSv4 is not stable enough in upstream for inclusion into RHEL.
Also, the design of NFS4 makes it almost impossible to completely emulate Linux ACLs. -
ACL support for NFS4 mounted file system is not available in Red Hat Enterprise Linux. Following
bugzilla explains the same: setfacl not supported on NFSv4 mounted filesystem
This solution is part of Red Hat’s fast-track publication program, providing a huge library of solutions that Red Hat engineers have created while supporting our customers. To give you the knowledge you need the instant it becomes available, these articles may be presented in a raw and unedited form.
Comments