Effective Permissions
Cheat sheet · https://pcornel.dk/topic.php?topic=2992
Answer
Effective permissions are the rights a principal actually receives for a specific object and access path. They are derived from the current access token and all applicable authorization layers, not from one visible ACL entry.
Remember
- Effective access is calculated for a specific token/principal and object.
- All relevant user/group SIDs and applicable ACEs matter.
- Remote file access adds share authorization to NTFS authorization.
- Tools that estimate Effective Access may not model every runtime factor such as application behavior, privileges or remote path nuances.
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
token groups → all matching ACEs → combined rights → share limit
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.
Effective access inputs
| Item | Meaning | Boundary |
|---|---|---|
| User SID | Direct ACEs | principal-specific grants/denies |
| Group SIDs | Group ACEs | often primary enterprise authorization path |
| Inheritance | Parent ACE propagation | can add entries not set directly on target |
| Share ACL | Remote SMB layer | must also permit network access |
| Requested right | Access mask | read, write, delete and permission-change differ |
Read-only verification commands unless stated otherwise. Confirm syntax for your platform and release. Full reference: https://pcornel.dk/topic.php?topic=2992