Pcornel
Browse topics
Options
Recent
Favorites
Storage · Technical reference

Permissions · NFS

Direct answer

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.

When to use this

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.

First 30 seconds

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.

Operational verification

client identity → server ACL check

Context & applicabilityCommon mistakes · platform/version boundaries
Common mistakes
Failure and recovery traps

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.

Platform / version applicability
Network file storage
applies
Structured applicability is explicit Topic metadata; it does not infer compatibility beyond the stored rows.
At a glance

Operational reference

Fast context before you go deeper.

PlatformNetwork file storage
Scope / prerequisiteUse it when the storage question has been narrowed to NFS → Permissions. Start from the exact remote path and operation…
What next?3 suggested next steps
Evidence1
On this pageJump to a specific section
Operational workflow

Verification & Troubleshooting

Start with the observed symptom, prove the nearest boundary, and move outward only when the current state is understood.

1 steps Observe → verify → isolate → change minimally → repeat the original test.
ObservedRecord what the original test actually shows

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 references

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.

observation · 1
Key points
  • 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.
Key checks
  • ls -ln <path> — numeric ownership
  • getfacl <path> — POSIX ACLs
  • nfs4_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).

Source basisSource attribution states what this section is based on; it is not independent proof that the current environment matches it.
Additional reference context Scope · expected state · examples · history · terminology Open only when you need the supporting context
Technical verification history

Verification history & basis

When and against what this Topic was checked. Later text edits do not count as a new check.

2026-09-14 · vendor docNetwork file storage current

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%
Terminology layer

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.

Aliases that resolve here
nfs permissionsnfs permission deniednfs acl
Embedded reference data

Quick lookup tables

NFS → Permissions file-service map

Fast namespace, protocol, identity, authorization and proof boundaries for NFS → Permissions.

File-service boundaryWhat to verifyProof limit
Endpoint / namespaceCorrect client, server, export/share, path and negotiated protocol versionReachability or namespace visibility does not prove authorization or backend health
Identity / securityEffective identity, protocol security state and export/share/filesystem authorizationAuthentication or one permission layer does not prove complete file access
Failure boundaryA 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
AcceptanceHealthy 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
Confirmation

Confirm action

Continue?