fakeroot Command Examples

Run a command in an environment faking root privileges for file manipulation. More information: https://manned.org/fakeroot.1.

fakeroot

fakeroot -- {{command}} {{command_arguments}}

fakeroot -s {{path/to/file}} -- {{command}} {{command_arguments}}

fakeroot -i {{path/to/file}} -- {{command}} {{command_arguments}}

fakeroot --unknown-is-real -- {{command}} {{command_arguments}}

fakeroot --help