I am looking for a complete chain that runs when accessing a file (on Linux). There are many sources that simply talk about the standard UNIX permission set, sometimes including an ACL or SELinux, but not at any depth.
Rights I Know About:
- UNIX Standard Permissions: User → Group → Other
- ACL
- User → Explicit ACL User → Group → Explicit ACL Group → Other
- SELinux
- Attributes (list with lsattr)
- Extended attributes (list with getfattr)
- File System Mount Options
So, how can I identify the trace that is used to check if the user has permission to file through all of these sets?
source
share