|
2.
|
|
|
2024-12-19
|
|
|
type: TH
|
|
|
|
(no translation yet)
|
|
|
|
Located in
../doc/fakeroot.1:17 ../doc/faked.1:16
|
|
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
|
|
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
|
|
13.
|
|
|
Also, note that it's best not to do the building of the binaries themselves under fakeroot. Especially configure and friends don't like it when the system suddenly behaves differently from what they expect (or, they randomly unset some environment variables, some of which fakeroot needs).
|
|
|
type: Plain text
|
|
|
|
(no translation yet)
|
|
|
|
Located in
../doc/fakeroot.1:78
|
|
20.
|
|
|
Any command you want to be run as fakeroot. Use \(oq--\(cq if in the command you have other options that may confuse fakeroot's option parsing.
|
|
|
type: Plain text
|
|
|
|
(no translation yet)
|
|
|
|
Located in
../doc/fakeroot.1:90
|
|
37.
|
|
|
B<fakeroot> was specifically written to enable users to create Debian GNU/Linux packages (in the B<deb>(5) format) without giving them root privileges. This can be done by commands like B<dpkg-buildpackage -rfakeroot> or B<debuild -rfakeroot> (actually, -rfakeroot is default in debuild nowadays, so you don't need that argument).
|
|
|
type: Plain text
|
|
|
|
(no translation yet)
|
|
|
|
Located in
../doc/fakeroot.1:169
|
|
41.
|
|
|
I</usr/lib/*/libfakeroot-*.so> The shared library containing the wrapper functions.
|
|
|
type: Plain text
|
|
|
|
(no translation yet)
|
|
|
|
Located in
../doc/fakeroot.1:176
|
|
44.
|
|
|
The key used to communicate with the fakeroot daemon. Any program started with the right B<LD_PRELOAD> and a B<FAKEROOTKEY> of a running daemon will automatically connect to that daemon, and have the same "fake" view of the file system's permissions/ownerships (assuming the daemon and connecting program were started by the same user).
|
|
|
type: Plain text
|
|
|
|
(no translation yet)
|
|
|
|
Located in
../doc/fakeroot.1:189
|
|
47.
|
|
|
fakeroot is implemented by wrapping system calls. This is accomplished by setting LD_LIBRARY_PATH=/usr/lib/fakeroot and LD_PRELOAD=libfakeroot.so.0. That library is loaded before the system's C library, and so most of the library functions are intercepted by it. If you need to set either B<LD_LIBRARY_PATH> or B<LD_PRELOAD> from within a fakeroot environment, it should be set relative to the given paths, as in B<LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/foo/bar/>
|
|
|
type: Plain text
|
|
|
|
(no translation yet)
|
|
|
|
Located in
../doc/fakeroot.1:204
|
|
53.
|
|
|
touch foo 
fakeroot 
ls -al foo
|
|
|
type: Plain text
|
|
|
represents a line break.
Start a new line in the equivalent position in the translation.
|
|
|
|
(no translation yet)
|
|
|
|
Located in
../doc/fakeroot.1:222
|