NFS4_GETFACL(1)
π NFS4_GETFACL(1) β NFSv4 Access Control Lists π
okay bestie, so this one lives in the NFSv4 Access Control Lists corner of the manual, and its name is nfs4_getfacl π«Ά
β¨ NAME β¨
nfs4_getfacl β get NFSv4 file/directory access control lists. yes, that's the whole vibe: it gets the ACLs. iconic behavior honestly π
πΈ SYNOPSIS πΈ
nfs4_getfacl [-HR] file ...
π¦ DESCRIPTION π¦
so nfs4_getfacl will display the NFSv4 Access Control List (ACL) for the files you hand it as arguments β provided they're chillin' on mounted NFSv4 filesystems that actually support ACLs. no ACL support, no ACLs, that's just how it is π
If you pass the -H/--more-help flag, nfs4_getfacl will print some info about NFSv4 ACLs and the fields used in ACEs. like a lil study session, but make it free πβ¨
If you pass the -R/--recursive flag, nfs4_getfacl will list the NFSv4 ACLs of all files and directories recursively. it goes down the whole tree, no skips, no shortcuts π
If you pass the -c/--omit-header flag, nfs4_getfacl will not display the comment header (Do not print filename). bye bye header π
If you pass the --dacl flag, nfs4_getfacl will retrieve the dacl. heads up though β this functionality is only available if the server supports NFSv4 minor version 1 or newer π§
If you pass the --sacl flag, nfs4_getfacl will retrieve the sacl. same deal, bestie β this functionality is only available if the server supports NFSv4 minor version 1 or newer π
The output format for an NFSv4 file ACL, e.g., is:
# file: /somedir
A::OWNER@:rwatTnNcCy
A::alice@nfsdomain.org:rxtncy
A::bob@nfsdomain.org:rwadtTnNcCy
A:g:GROUP@:rtncy
D:g:GROUP@:waxTC
A::EVERYONE@:rtncy
D::EVERYONE@:waxTC
In the example output above, the user alice@nfsdomain.org has the equivalent of "read" and "execute" permissions, bob@nfsdomain.org has "read" and "write", and both GROUP@ and EVERYONE@ have "read". look at them, sharing the read permissions, so generous π₯°
The ACL listings of multiple files are separated by blank lines. spacing! we love to see it β¨
Refer to the nfs4_acl(5) manpage for detailed information about NFSv4 ACL terminology and syntax. go read the lore, iykyk π
π AUTHORS π
nfs4_getfacl was written by people at CITI, the Center for Information Technology Integration (http://www.citi.umich.edu). This manpage was written by David Richter. absolute legends, no cap π«‘π
π CONTACT π
Please send bug reports, feature requests, and comments to <linux-nfs@vger.kernel.org>. they're literally waiting for your thoughts, don't be shy π
π₯ SEE ALSO π₯
nfs4_setfacl(1)nfs4_acl(5)- RFC3530 (NFSv4.0)
- NFSv4.1 Minor Version Draft
and that's the whole page, bestie π¦ this was the Linux version 0.3.4, August 2018 edition β slay, periodt, go read your ACLs π
β¨πΈ
π¦ where this page comes from
- centos-stream 10: nfs4-acl-tools 0.4.2-7.el10 Β· LGPL-2.1-or-later
- centos-stream 9: nfs4-acl-tools 0.4.2-3.el9 Β· BSD
- debian trixie: nfs4-acl-tools 0.4.2-1
- fedora 43: nfs4-acl-tools 0.4.2-8.fc43 Β· LGPL-2.1-or-later
- fedora 43: nfs4-acl-tools 0.4.2-9.fc43 Β· LGPL-2.1-or-later
- fedora 44: nfs4-acl-tools 0.4.2-10.fc44 Β· LGPL-2.1-or-later
- ubuntu questing: nfs4-acl-tools 0.4.2-1
- ubuntu resolute: nfs4-acl-tools 0.4.2-1build1
- ubuntu stonking: nfs4-acl-tools 0.4.2-1build1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms