This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
gpfs:acl_nfsv4 [2021/08/18 15:54] manu [ACL on Linux] |
gpfs:acl_nfsv4 [2021/12/31 18:48] (current) manu |
||
---|---|---|---|
Line 1: | Line 1: | ||
====== ACL and shares NFS and SMB ====== | ====== ACL and shares NFS and SMB ====== | ||
+ | |||
+ | https://qastack.fr/server/514118/mapping-uid-and-gid-of-local-user-to-the-mounted-nfs-share | ||
+ | |||
+ | https://www.kernel.org/doc/html/latest/admin-guide/nfs/nfs-idmapper.html | ||
===== ACL commands ===== | ===== ACL commands ===== | ||
Line 50: | Line 54: | ||
nfs4-acl-tools | nfs4-acl-tools | ||
| | ||
+ | === ACE Permissions === | ||
+ | |||
+ | The 'rxtncy' are the permissions the ACE is allowing. Permissions can be used in combonation with each other. A list of permissions and what they do can be found below: | ||
+ | |||
^ Permission ^ Function ^ | ^ Permission ^ Function ^ | ||
- | |r| read-data (files) / list-directory (directories)| | + | | r | read-data (files) / list-directory (directories)| |
- | |w| write-data (files) / create-file (directories)| | + | | w | write-data (files) / create-file (directories)| |
- | |a| append-data (files) / create-subdirectory (directories)| | + | | a | append-data (files) / create-subdirectory (directories)| |
- | |x| execute (files) / change-directory (directories)| | + | | x | execute (files) / change-directory (directories)| |
- | |d| delete the file/directory| | + | | d | delete the file/directory| |
- | |D| delete-child : remove a file or subdirectory from the given directory (directories only)| | + | | D | delete-child : remove a file or subdirectory from the given directory (directories only)| |
- | |t| read the attributes of the file/directory| | + | | t | read the attributes of the file/directory| |
- | |T| write the attribute of the file/directory| | + | | T | write the attribute of the file/directory| |
- | |n| read the named attributes of the file/directory| | + | | n | read the named attributes of the file/directory| |
- | |N| write the named attributes of the file/directory| | + | | N | write the named attributes of the file/directory| |
- | |c| read the file/directory ACL| | + | | c | read the file/directory ACL| |
- | |C| write the file/directory ACL| | + | | C | write the file/directory ACL| |
- | |o| change ownership of the file/directory| | + | | o | change ownership of the file/directory| |