Caffeinated Coder
Book an appointment
Lesson 07 · The system

Users and permissions

Linux knows every user and group by a number. Every file records one owner, one group and nine permission bits: read, write and execute for the owner, the group and everyone else. Follow the kernel as it checks a request: it picks exactly one of the three sets, then says yes or Permission denied. Then change the rules with chmod, read the same bits as the number 640, and see why root skips the check.

11 min10 steps5 questionsIntermediate
Fig 7 · Interactive
Loading figure…
or ← →

Quiz Unlocks after the last step.