Share Permissions
Cheat sheet · https://pcornel.dk/topic.php?topic=4152
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 permissionsGrant-SmbShareAccess -Name <share> -AccountName <grp> -AccessRight Change— setnet 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 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 | Share 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 |
| Acceptance | Healthy 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