ACE
Cheat sheet · https://pcornel.dk/topic.php?topic=2996
Answer
An ACE is one entry inside an ACL. It identifies a trustee (normally by SID), an ACE type such as allow/deny/audit, the access rights involved and flags controlling inheritance and object applicability.
Remember
- An ACE targets a SID, not a friendly name string.
- Allow/deny type and access mask determine what the entry means.
- Inheritance/application flags decide which objects the ACE affects.
- One ACE is not the whole access decision; all applicable entries and token SIDs matter.
First checks
Get-Acl <path> | fl— owner and ACLicacls <path>— ACEs with inheritance flagswhoami /groups— groups in the current tokenGet-SmbShareAccess <share>— share permissions
Verify in this order
ACE = SID + allow/deny + rights + inheritance flags
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.
ACE fields
| Item | Meaning | Boundary |
|---|---|---|
| Trustee | SID/security principal | who the entry targets |
| Type | Allow / Deny / Audit | what kind of rule it is |
| Rights | Access mask | which operations are affected |
| Inheritance flags | Propagation/applicability | where the rule applies |
| Position | DACL order | context for evaluation |
Read-only verification commands unless stated otherwise. Confirm syntax for your platform and release. Full reference: https://pcornel.dk/topic.php?topic=2996