- The kernel checks file access for a process, by its UID and groups; commands inherit them from the shell.
- A file's owner is the user of the process that created it; the directory and the reader do not change it.
sudoruns one command as another user; test access as the user who needs it, withsudo -u.- A root process created the summary at the start, and only its owner may read it:
catas student was refused,sudo catran as root.
Step 7 of 7 · summary · 1 min
Summary
Found an inaccuracy? Report an error in the lesson