faked โ daemon that remembers fake ownership/permissions of files manipulated by fakeroot processes.
| Use Case | Command | Description |
|---|---|---|
| ๐งฐ Start faked in background (default) | faked | Launch the daemon that stores fake ownership/permissions for fakeroot. |
| ๐ Debug mode foreground | faked --debug --foreground | Run in foreground with debug output on stderr. |
| ๐ Use a specific IPC key | faked --key <key-number> | Use a pre-existing communication channel or create it. |
| ๐พ Save state on exit | faked --save-file <save-file> | Persist fake ownership/permissions to a file for later reuse. |
| ๐ Load saved state | faked --load | Restore a previously saved environment from stdin. |
| ๐ Use TCP port | faked --port <tcp-port> | Communicate via TCP instead of Unix domain sockets. |
| ๐งน Cleanup semaphores | faked --cleanup <number> | Remove stale semaphore resources. |
faked [--debug] [--foreground] [--cleanup] [--key msg-key] [--load] [--save-file save-file] [--port TCP-port]
If a fakeroot process wants to change the ownership of a file, then faked is the process that remembers that new owner. If later the same fakeroot process does a stat() for that filename, then the libfakeroot wrapped stat() call will first ask faked for the fake ownership etc of that file, and then report it.
--debugPrint debugging information on stderr.
--foregroundDon't fork into the background.
--cleanup numberCleanup the semaphores.
--key key-numberDon't allocate a new communication channel, but use channel specified by key. (If the specified channel doesn't exist, it's created).
--save-file save-fileSave the environment to save-file on exit.
--loadLoad a previously saved environment from the standard input.
--unknown-is-realUse real ownership of previously-unknown files instead of setting them to root:root.
--port tcp-portUse TCP port tcp-port.
None so far. Be warned, though: although I've written quite a few much larger (and smaller) programs, I've never written anything that was as tiny as fakeroot, had as many bugs as fakeroot, and still was as usable as, say, fakeroot version 0.0_3, the first version that could be used to build itself.
fakeroot is distributed under the GNU General Public License (GPL 2.0 or greater).
mostly by J.H.M. Dassen <jdassen AT debian.org> mods/additions by joost and Clint.
Generated by phpman v4.10.0-7-g98e9fd5 · Markdown · JSON · MCP Author: Che Dong Under GNU General Public License
2026-09-01 13:55 @216.73.216.239
CrawledBy Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)