Pcornel
Windows · Permissions & Access Control

Inheritance

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

Back to the Topic

Answer

Inheritance allows ACEs defined on a parent container to propagate to child objects. Inherited ACEs are marked and ordered separately from explicit ACEs, reducing repetitive ACL administration while preserving object-specific overrides.

Remember

  • Inherited ACEs originate from parent containers; explicit ACEs are set directly on the object.
  • Inheritance flags determine whether an ACE applies to files, folders or descendants.
  • Disabling inheritance usually requires choosing whether to convert inherited ACEs to explicit entries or remove them.
  • Canonical DACL ordering normally places explicit ACEs before inherited ACEs.

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

parent ACE with inheritance flags → propagated to children

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.

Inheritance states

ItemMeaningBoundary
Inherited ACEOriginates on ancestorchild cannot edit source as a local explicit ACE
Explicit ACEDefined on current objecttakes explicit position in canonical order
Inheritance enabledEligible parent ACEs propagatechild follows parent changes
Convert inheritedCopies entries as explicitbreaks future parent propagation
Remove inheritedDrops inherited entriescan cause major access change

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

Confirmation

Confirm action

Continue?