# man > faked(1)

---
type: CommandReference
command: faked
mode: man
section: 1
source: man-pages
---

## Quick Reference

- `faked` — runs as daemon for fakeroot; normally started automatically
- `faked --foreground` — run in foreground (do not fork)
- `faked --debug` — print debugging info to stderr
- `faked --save-file /path/to/save` — save fake ownership environment on exit
- `faked --load` — load previously saved environment from stdin
- `faked --key <key-number>` — use specific communication channel
- `faked --port <tcp-port>` — use TCP port for communication
- `faked --cleanup <number>` — cleanup semaphores

## Name

**faked** — daemon that remembers fake ownership/permissions of files manipulated by fakeroot processes.

## Synopsis

`faked` [--debug] [--foreground] [--cleanup] [--key _msg-key_] [--load] [--save-file _save-file_] [--port _TCP-port_]

## Options

- `--debug` — Print debugging information on stderr.

- `--foreground` — Don't fork into the background.

- `--cleanup  number` — Cleanup the semaphores.

- `--key  key-number` — Don'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-file` — Save the environment to save-file on exit.

- `--load` — Load a previously saved environment from the standard input.

- `--unknown-is-real` — Use real ownership of previously-unknown files instead of setting them to root:root.

- `--port  tcp-port` — Use TCP port tcp-port.

## See Also

- [fakeroot(1)](https://manpages.debian.org/fakeroot.1)
- [dpkg-buildpackage(1)](https://manpages.debian.org/dpkg-buildpackage.1)
- [debuild(1)](https://manpages.debian.org/debuild.1)
- /usr/share/doc/fakeroot/DEBUG