FAKEROOT(1) FAKEROOT(1) (NAME) fakeroot - (fake root) (SYNOPSIS) fakeroot [ -l|--lib ] [ --faked _ ] [ -s _ ] [ -i _ ] [ -u|--unknown-is-real ] [ -b fd ] [ -h|--help ] [ -v|--version ] [ -- ] [ [ ... ] ] (DESCRIPTION) fakeroot (root) . (tar ar .deb ) . fakeroot . fakeroot ( chmod(2) stat(2) ) . (wrapper) /usr/lib/*/libfakeroot-*.so . LD_PRELOAD (: ld.so(8)). fakeroot fakeroot : <> ( fakeroot ). ( libc5 ) fakeroot . fakeroot . configure ( fakeroot ). (OPTIONS) -l , --lib (wrapper) . --faked faked. [--] fakeroot . fakeroot <<-->> . -s _ fakeroot _ . -i . fakeroot fakeroot . rsync(1) . /usr/share/doc/fakeroot/README.saving . -i _ fakeroot -s _. -s . -i -s fakeroot . -u, --unknown-is-real fakeroot root:root . -b fd ( TCP). fd TCP fakeroot . -h, --help . -v, --version . (EXAMPLES) fakeroot . . $ whoami joost $ fakeroot /bin/bash # whoami root # mknod hda3 b 3 1 # ls -ld hda3 brw-r--r-- 1 root root 3, 1 Jul 2 22:58 hda3 # chown joost:root hda3 # ls -ld hda3 brw-r--r-- 1 joost root 3, 1 Jul 2 22:58 hda3 # ls -ld / drwxr-xr-x 20 root root 1024 Jun 17 21:50 / # chown joost:users / # chmod a+w / # ls -ld / drwxrwxrwx 20 joost users 1024 Jun 17 21:50 / # exit $ ls -ld / drwxr-xr-x 20 root root 1024 Jun 17 21:50 // $ ls -ld hda3 -rw-r--r-- 1 joost users 0 Jul 2 22:58 hda3 joost . fakeroot / ( deb(5)) . dpkg-buildpackage -rfakeroot debuild -rfakeroot ( -rfakeroot debuild ). (SECURITY ASPECTS) fakeroot setuid . . (FILES) /usr/lib/*/libfakeroot-*.so (wrapper). (ENVIRONMENT) FAKEROOTKEY fakeroot. LD_PRELOAD FAKEROOTKEY <<>> ( ). LD_LIBRARY_PATH LD_PRELOAD fakeroot . LD_LIBRARY_PATH=/usr/lib/fakeroot LD_PRELOAD=libfakeroot.so.0 . C . LD_LIBRARY_PATH LD_PRELOAD fakeroot : LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/foo/bar/ (LIMITATIONS) (Library versions) fakeroot C fakeroot . open()/create() fakeroot open() create() . joost : touch foo fakeroot ls -al foo : fakeroot touch foo ls -al foo fakeroot foo joost root . uid=gid=0 <<>> . open() create() libtricks . fakeroot . libc ( stat() open() stat() open() ) segfault ( stat() libc6 open() stat() libc6 ). open() . fakeroot <<>> . GNU configure ( ) fakeroot . GNU configure ( fakeroot fakeroot ). configure fakeroot . configure <> <> . (BUGS) open() . ()open O_WRONLY 000 000 . ()open . ()open ()open libc ( ) ( libc) . (COPYING) fakeroot (GNU General Public License 2.0 ) . (AUTHORS) joost witteveen Clint Adams Timo Savola (MANUAL PAGE) J.H.M. Dassen joost Clint. (SEE ALSO) debuild(1), dpkg-buildpackage(1), faked(1), /usr/share/doc/fakeroot/DEBUG fakeroot FAKEROOT(1)