Re: problem with ldconfig and packaging libs
On Thu, Dec 17, 1998 at 08:41:54AM -0800, Oscar Levi wrote:
> I'd let this drop, but I think I'm gonna learn somthing.
>
> How is it that you created files owned by root without ever changing
> your uid to root?
>
> fakeroot chown root.root FILENAME
>
> doesn't do it, right?
No, it doesn't. But it does what you need. Try this:
$ fakeroot bash
$ whoami
$ ls -l
$ rm /etc/passwd (don't try rm -rf /, you'll get a nasty surprise)
$ passwd root
$ exit
read fakeroot(1)
Marcelo
Reply to: