NTFS Permissions
Cheat sheet · https://pcornel.dk/topic.php?topic=2990
Answer
NTFS permissions are discretionary access-control entries stored in the security descriptor of files and folders on NTFS. They determine which token SIDs receive rights such as read, write, execute, delete, modify permissions and take ownership.
Remember
- NTFS permissions apply to the filesystem object regardless of whether access is local or over SMB.
- Basic permission labels expand to sets of specific rights.
- Folder rights and inheritance flags determine how ACEs propagate to files/subfolders.
- Remote SMB access can still be restricted by share permissions before NTFS.
First checks
Get-Acl <path> | fl— owner and ACLicacls <path>— ACEs with inheritance flagswhoami /groups— groups in the current tokenGet-SmbShareAccess <share>— share permissions
Commands
Get-Acl <path> | Format-List- Shows the owner and access rules (ACL) of a file, folder or registry key.
Verify in this order
ACL on the object → ACEs evaluated (deny explicit first) → access granted or denied
Where it usually breaks
First mismatch in identity/token/certificate → policy source → security provider/enforcement → target resource → audit/detection evidence; preserve identity/native error/pre-state before mutation.
Common NTFS permission intent
| Item | Meaning | Boundary |
|---|---|---|
| Read | Read data/list/read attributes | view content without modifying |
| Write | Create/write data and attributes | create/change content subject to detailed rights |
| Read & execute | Read plus execute/traverse | run executables/traverse folders |
| Modify | Read/write/execute plus delete | typical change-content permission |
| Full control | Modify plus permission/ownership-related rights | broad administrative control |
Read-only verification commands unless stated otherwise. Confirm syntax for your platform and release. Full reference: https://pcornel.dk/topic.php?topic=2990