-
Notifications
You must be signed in to change notification settings - Fork 75
Home
Home | Download | Documentation | ChangeLog | Development | ToDo | Links
fakechroot runs a command in an environment were is additional possibility to
use chroot
(8) command without root privileges. This is useful for allowing
users to create own chrooted environment with possibility to install another
packages without need for root privileges.
fakechroot replaces some libc library functions (chroot
(2), open
(2), etc.)
by ones that simulate the effect of being called with root privileges.
These wrapper functions are in a shared library
/usr/lib/fakechroot/libfakechroot.so
which is loaded through the
LD_PRELOAD
mechanism of the dynamic loader. (See ld.so
(8))
In fake chroot you can install Debian bootstrap with debootstrap
command. In
this environment you can use i.e. apt-get
(8) command to install another
packages. You don't need a special privileges and you can run it from common
user's account.
fakechroot is mainly used as:
- a variant of debootstrap, the tool which can set up new Debian or Ubuntu system.
fakechroot had found another purposes:
- to be a part of Klik application installer as kfakechroot project
- to be a supporter for pbuilder building system
- to be a supporter for Apport retracer
- to be a supporter for libguestfs tools for accessing and modifying virtual machine disk images
- to be a supporter for febootstrap, the tool which can set up new Fedora system.
- to be a part of cuntubuntu - Ubuntu for Android without root