Use it when the storage question has been narrowed to NFS → Permissions. Start from the exact remote path and operation, then separate transport, protocol/session or mount state, identity/security, share/export authorization, filesystem authorization and backend I/O before changing configuration.
Permissions · NFS
NFS access is not decided by one permission layer. The client must be allowed by the export/security policy, map to the intended server identity, and then pass the backing filesystem authorization for the requested operation.
1. NFS permissions are enforced by the server filesystem using client-provided identity.
2. AUTH_SYS trusts the client — restrict exports.
3. Kerberos authenticates users.
4. Group limit of 16 with AUTH_SYS (use manage-gids).
5. NFSv4 ACLs differ from POSIX.
client identity → server ACL check
Context & applicabilityCommon mistakes · platform/version boundaries
A correct filesystem ACL does not show the export/security layer admits the client, and an allowed export does not show the filesystem grants the operation.
Suspicious evidence: chmod used to mask identity issues, write works only as one UID, directory traversal denied, ACL inheritance surprises or root squash mistaken for all permission behavior.
Operational reference
Fast context before you go deeper.
Verification & Troubleshooting
Start with the observed symptom, prove the nearest boundary, and move outward only when the current state is understood.
Use the operational verification above to establish the expected state.
Capture the concrete output, symptom, packet, log or counter before changing anything.
Step 1 Verification path Verify boundary
client credential → export/security policy → identity mapping → server filesystem ACL/mode → file operation
Healthy evidence: effective identity is known, export policy permits the client and filesystem authorization grants exactly the required operation without excessive privilege.
Evidence · 1 on this Topic
Expected observations and documentation recipes are reference material. Record actual output, device identity, scope and time before claiming a verified result.
- Export read-write ≠ user write permission.
- Mode bits visible on client ≠ effective server authorization in every security model.
- Root squash ≠ general user permission policy.
- Permission denied ≠ network failure.
ls -ln <path>— numeric ownershipgetfacl <path>— POSIX ACLsnfs4_getfacl <path>— NFSv4 ACLs
ReferenceHow it works1 section · depth on demand
How it works
How it works: Remote file I/O crosses client name/routing/authentication, mount/session negotiation, protocol permissions/locking/caching, server filesystem and backend storage.
ReferenceImportant terms & boundaries2 sections · depth on demand
Namespace and identity
A correct filesystem ACL does not show the export/security layer admits the client, and an allowed export does not show the filesystem grants the operation.
In depth
NFS access is checked in layers: export rules (which clients, ro/rw, squash), then the server filesystem permissions for the mapped UID/GID, and optionally NFSv4 ACLs.
nfs4_getfacl /mnt/projects/report.xlsx
nfs4_setfacl -a A::alice@corp.example.com:RWX /mnt/projects/shared
ls -ln /mnt/projects # numeric owners as the client sees them
AUTH_SYS sends at most 16 groups per request; users in more groups lose access through the extra groups unless the server resolves groups itself (rpc.mountd --manage-gids / manage-gids=y in nfs.conf).
Additional reference context Scope · expected state · examples · history · terminology Open only when you need the supporting context
Verification history & basis
When and against what this Topic was checked. Later text edits do not count as a new check.
Authoritative/upstream documentation reviewed for bounded claims in NFS → Permissions. Documentation verification only; this is not observed lab or production Evidence.
Basis: https://www.rfc-editor.org/rfc/rfc8881 · confidence 94%Terms & aliases
Hover a linked term for a quick definition; click it to open its glossary entry. Aliases are other names that find this Topic in search.
Quick lookup tables
NFS → Permissions file-service map
Fast namespace, protocol, identity, authorization and proof boundaries for NFS → Permissions.
| File-service boundary | What to verify | Proof limit |
|---|---|---|
| Endpoint / namespace | Correct client, server, export/share, path and negotiated protocol version | Reachability or namespace visibility does not prove authorization or backend health |
| Identity / security | Effective identity, protocol security state and export/share/filesystem authorization | Authentication or one permission layer does not prove complete file access |
| Failure boundary | A correct filesystem ACL does not prove the export/security layer admits the client, and an allowed export does not prove the filesystem grants the operation. | Correlate client, network, server and filesystem evidence for the same operation/time window |
| Acceptance | Healthy evidence: effective identity is known, export policy permits the client and filesystem authorization grants exactly the required operation without excessive privilege. | Close only after the original operation and server-side/read-back verification succeeds |