NTFS Permissions
Cheat sheet · https://pcornel.dk/topic.php?topic=4151
Answer
Remote SMB access to NTFS-backed data usually must satisfy both share-level authorization and the NTFS security descriptor/DACL. Local NTFS access bypasses SMB share permissions, so local success is not equivalent to remote success.
Remember
- NTFS Permissions ≠ Share Permissions.
- Local NTFS access success ≠ remote SMB access success.
- Share Full Control ≠ NTFS Full Control.
- NTFS allow ≠ correct SMB identity/token.
First checks
icacls D:\Data— NTFS ACLGet-Acl D:\Data | fl— PowerShell ACLGet-NTFSAccess (module)— detailed view
Verify in this order
user → groups → NTFS ACEs → effective access
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 → NTFS 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 | Correct NTFS rights do not prove the share layer permits access, and a share allow does not override an NTFS deny or missing filesystem right. | Correlate client, network, server and filesystem evidence for the same operation/time window |
| Acceptance | Healthy evidence: SMB session uses intended token, share authorization permits access, NTFS effective rights match least privilege and the required remote operation succeeds. | 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=4151