A chroot on Unix operating systems is an operation that changes the apparent root directory for the current running process and its children.
A chroot on Unix operating systems is an operation that changes the apparent root directory for the current running process and its children, i.e., the current running process and its children will "see" the root directory as the fake/apparent one, rather than seeing the real one. A program that is run in such a modified environment cannot name (and therefore normally not access) files outside the designated directory tree. The term "chroot" may refer to the chroot system call or the chroot wrapper program. The modified environment is called a "chroot jail".
History
The chroot system call was introduced during development of Version 7 Unix in 1979, and added to BSD by Bill Joy on 18 March 1982 – 17 months before 4.2BSD was released – in order to test its installation and build system.