fakeroot runs a command in an environment where it appears to have root privileges for file manipulation. It does this by means of LD_PRELOAD and SYSV IPC (or TCP) trickery.

WWW: https://wiki.debian.org/FakeRoot/
