similar to other wiki pages. See Also /External links section, with bullets, removed package tracker link(not working)
fix case of Debian InterWiki links
|Deletions are marked like this.||Additions are marked like this.|
|Line 28:||Line 28:|
| * [[DebianBug:FakeRoot|Bugs]]
* [[DebianPkg:FakeRoot|Package page]]
* [[DebianMan:FakeRoot|Manual pages]]
* [[DebianPkg:fakeroot|Package page]]
* [[DebianMan:fakeroot|Manual pages]]
Gives a fake root environment , to remove the need to become root for a package build.
fakeroot runs a command in an environment where 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 fakeroot one would have 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
This package is intended to enable something like:
i.e. to remove the need to become root for a package build. This is done by setting LD_PRELOAD to libfakeroot.so, which provides wrappers around getuid, chown, chmod, mknod, stat, and so on, thereby creating a fake root environment.
Previously, fakeroot required SYSV IPC to operate, but the current version now supports TCP/IP for messaging as well.
fakeroot: nested operation not yet supported
This error occurs if an attempt is made to run fakeroot from within a fakeroot environment. The error may occur during an attempt to build project code from within a fakeroot environment and has been observed to occur when project builder tools are being used (such as ?debuild).
Debian specific information
Upstream specific information