Pcornel
Storage · SMB

Share Permissions

Cheat sheet · https://pcornel.dk/topic.php?topic=4152

Back to the Topic

Answer

The SMB server evaluates the authenticated session against share access rules, then the backing filesystem evaluates its own ACLs. Effective remote access is constrained by both layers.

Remember

  • Share Permissions ≠ NTFS Permissions.
  • Share allow ≠ filesystem allow.
  • Share deny affects remote SMB access, not ordinary local filesystem access.
  • Everyone access at share layer ≠ anonymous access automatically.

First checks

  • Get-SmbShareAccess <share> — share permissions
  • Grant-SmbShareAccess -Name <share> -AccountName <grp> -AccessRight Change — set
  • net share <share> — summary

Verify in this order

network access → share ACL ∩ NTFS 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.

SMB → Share Permissions file-service map

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 boundaryShare permission evidence establishes the SMB share authorization decision only; it does not prove NTFS/filesystem access, authentication correctness or backend health.Correlate client, network, server and filesystem evidence for the same operation/time window
AcceptanceHealthy evidence: intended user/group receives the required least-privilege share rights and the same operation passes the backing filesystem authorization.Close only after the original operation and server-side/read-back verification succeeds

Read-only verification commands unless stated otherwise. Confirm syntax for your platform and release. Full reference: https://pcornel.dk/topic.php?topic=4152

Confirmation

Confirm action

Continue?