Everything About ___
Live briefing

Everything about Chroot

Shell command and system call that changes the apparent root directory

chroot is a shell command and a system call on Unix and Unix-like operating systems that changes the apparent root directory for the current running process and its children. A program that is run in such a modified environment cannot name files outside the designated directory tree. The term chroot may refer to the chroot(2) system call or the chroot(8) command-line utility. The modified environment is called a chroot jail. Wikipedia →

đź§­ Start here: a 6-step reading path

  1. Read the overview: ChrootA 5-minute orientation
  2. Pick up a classic book: Apache CookbookThe most-reprinted book on the subject
  3. Go sideways: OS-level virtualizationA closely related topic
  4. Go sideways: OS virtualization and emulation on AndroidA closely related topic

đź“– Definitions

Verb To change the apparent root directory for a running process, affecting whether or not it can access certain files etc.

🏆 Landmark papers (most cited)

📚 Books worth reading

Ranked by number of editions on Open Library, a rough measure of how lasting a book is.

đź”— Related topics