|
2.
|
|
|
2024-12-19
|
|
|
type: TH
|
|
|
|
(no translation yet)
|
|
|
|
Located in
../doc/fakeroot.1:17 ../doc/faked.1:16
|
|
3.
|
|
|
Debian Project
|
|
|
type: TH
|
|
|
|
(no translation yet)
|
|
|
|
Located in
../doc/fakeroot.1:17 ../doc/faked.1:16
|
|
4.
|
|
|
Debian manual
|
|
|
type: TH
|
|
|
|
(no translation yet)
|
|
|
|
Located in
../doc/fakeroot.1:17 ../doc/faked.1:16
|
|
5.
|
|
|
NAME
|
|
|
Manpage by J.H.M. Dassen <jdassen@debian.org>
and Clint Adams
type: SH
|
|
|
|
(no translation yet)
|
|
|
|
Located in
../doc/fakeroot.1:20 ../doc/faked.1:19
|
|
6.
|
|
|
fakeroot - run a command in an environment faking root privileges for file manipulation
|
|
|
type: Plain text
|
|
|
|
(no translation yet)
|
|
|
|
Located in
../doc/fakeroot.1:23
|
|
7.
|
|
|
SYNOPSIS
|
|
|
type: SH
|
|
|
|
(no translation yet)
|
|
|
|
Located in
../doc/fakeroot.1:23 ../doc/faked.1:22
|
|
8.
|
|
|
B<fakeroot> [B<-l>|B<--lib> I<library>] [B<--faked> I<faked-binary>] [B<-i> I<load-file>] [B<-s> I<save-file>] [B<-u>|B<--unknown-is-real>] [B<-b>|B<--fd-base>] [B<-h>|B<--help>] [B<-v>|B<--version>] [B<-->] [I<command>]
|
|
|
type: Plain text
|
|
|
|
(no translation yet)
|
|
|
|
Located in
../doc/fakeroot.1:39
|
|
9.
|
|
|
DESCRIPTION
|
|
|
type: SH
|
|
|
|
(no translation yet)
|
|
|
|
Located in
../doc/fakeroot.1:39 ../doc/faked.1:30
|
|
10.
|
|
|
B<fakeroot> runs a command in an environment wherein it appears to have root privileges for file manipulation. This is useful for allowing users to create archives (tar, ar, .deb etc.) with files in them with root permissions/ownership. Without B<fakeroot> one would need to have root privileges to create the constituent files of the archives with the correct permissions and ownership, and then pack them up, or one would have to construct the archives directly, without using the archiver.
|
|
|
type: Plain text
|
|
|
|
(no translation yet)
|
|
|
|
Located in
../doc/fakeroot.1:50
|
|
11.
|
|
|
B<fakeroot> works by replacing the file manipulation library functions (chmod(2), stat(2) etc.) by ones that simulate the effect the real library functions would have had, had the user really been root. These wrapper functions are in a shared library B</usr/lib/*/libfakeroot-*.so> or similar location on your platform. The shared object is loaded through the B<LD_PRELOAD> mechanism of the dynamic loader. (See B<ld.so>(8))
|
|
|
type: Plain text
|
|
|
|
(no translation yet)
|
|
|
|
Located in
../doc/fakeroot.1:62
|