Permissions
Cheat sheet · https://pcornel.dk/topic.php?topic=4127
Answer
NAS permissions combine share-level access with file-system permissions: NTFS-style ACLs for SMB, POSIX mode bits or NFSv4 ACLs for NFS. The effective access is the most restrictive combination.
Remember
- Share access and file permissions both apply.
- SMB uses ACLs; NFS uses mode bits or NFSv4 ACLs.
- Mixed-mode shares need consistent identity mapping.
First checks
getfacl <path>— POSIX ACLsicacls <path>— NTFS ACLsGet-SmbShareAccess <share>— share permissions
Verify in this order
user → groups → share rules → filesystem ACL
Where it usually breaks
First mismatch in client identity/DNS → network transport → protocol session → authentication/authorization → export/share → backend filesystem → file operation; preserve identity/pre-state before mutation.
Read-only verification commands unless stated otherwise. Confirm syntax for your platform and release. Full reference: https://pcornel.dk/topic.php?topic=4127