Skip to content

OS and Application security

Why couldn’t you leave the jail using cd ../../..?

he chroot jail treats its folder as the root folder. Using cd .. cannot take you outside the jail.

## What happens if you run commands like nano, python3, or grep inside the jail? Why? ### They fail because the programs are not inside the chroot jail the jail cannot use programs from the host system.