Pcornel
Windows · Permissions & Access Control

Ownership

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

Back to the Topic

Answer

Every Windows file, folder and other securable object has an owner. The owner can always change the object's permissions, which is how administrators recover access by taking ownership — but owning an object does not by itself grant read or write access.

Remember

  • Owner is a field in the security descriptor.
  • Taking ownership changes the owner; it does not automatically replace the DACL with broad access.
  • Ownership is often used as a recovery step before changing permissions.
  • Preserve the original owner/DACL before large-scale remediation when rollback matters.

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

Verify in this order

owner recorded → can always change the DACL

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.

Ownership vs permission

ItemMeaningBoundary
Owner SIDSecurity descriptor ownercontrols ownership semantics
Take ownershipChanges ownerdoes not automatically grant all data rights
Change DACLAdjust permissionsseparate security operation
Read/write/deleteOrdinary resource rightsmust still be authorized
Recursive takeoverLarge scope changehigh operational/security impact

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

Confirmation

Confirm action

Continue?