NFSv4 uses ACLs (Access Control Lists) for fine-grained permission control. The two main commands for managing NFSv4 ACLs are:
nfs4_getfacl
To view the NFSv4 ACLs of a file or directory.
nfs4_getfacl <file_or_directory>
A:fd:[email protected]:rwaDxtTnNcCy
A:
→ ACL Entry (Access)fd
→ Flags (f
= file-inherit, d
= directory-inherit)[email protected]
→ User principalrwaDxtTnNcCy
→ Permissionsnfs4_setfacl
To add, set, modify, or remove ACL entries on files or directories.