Subject: Re: "make install" owerwrites files without asking
To: None <email@example.com>
From: Joerg Sonnenberger <firstname.lastname@example.org>
Date: 06/30/2005 13:38:11
On Wed, Jun 29, 2005 at 09:42:06AM -0700, Jeremy C. Reed wrote:
> On Wed, 29 Jun 2005, Pavel Cahyna wrote:
> > > Yes, that would be really good. But I guess some packages will complain
> > > when doing "make install" as an unprivileged user if they can't set suid
> > > permissions for example.
> > Not if fakeroot (http://packages.debian.org/fakeroot) is used.
> From package description: "i.e. to remove the need to become root for a
> package build. This is done by setting LD_PRELOAD to libfakeroot.so, which
> provides wrappers around getuid, chown, chmod, mknod, stat, and so on,
> thereby creating a fake root environment." and "fakeroot requires SYSV IPC
> to operate."
And e.g. on DragonFly /bin is still statically linked and therefore fakeroot
doesn't work. I'm pretty sure there are also NetBSD hackers using a static