Pcornel
Windows · Permissions & Access Control

NTFS Permissions

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

Back to the Topic

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 ACL
  • icacls <path> — ACEs with inheritance flags
  • whoami /groups — groups in the current token
  • Get-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

ItemMeaningBoundary
ReadRead data/list/read attributesview content without modifying
WriteCreate/write data and attributescreate/change content subject to detailed rights
Read & executeRead plus execute/traverserun executables/traverse folders
ModifyRead/write/execute plus deletetypical change-content permission
Full controlModify plus permission/ownership-related rightsbroad 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

Confirmation

Confirm action

Continue?