fakeroot

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

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