-----BEGIN PGP SIGNED MESSAGE-----
Hash: RIPEMD160

Sukucorp Sukucorp wrote:
> On Mon, Mar 31, 2008 at 5:12 PM, Bryan Kadzban
> <[EMAIL PROTECTED]> wrote:
>> But any kind of DESTDIR type setup would require it, if the
>> package's "make install" is run as a non-root user.
>
> fakeroot is not an absolute requirement for install-root style PM. I
> use the following wrappers to avoid using fakeroot.
>
> chgrp | chown )
> install )
> ldconfig )

Obviously no packages try to mknod during their installation then.  ;-)

Does this handle e.g. fcron, where several binaries need to be setgid
fcron and/or setuid fcron?  It looks like any files will end up being
setuid but owned by the non-root user that built the package here (or
owned by root, if root unpacks the package with something like tar's
- --no-same-owner flag), unless that's handled separately during the
package installation.

You are right: with enough workarounds, you don't need fakeroot.  But
if you install the package into DESTDIR as root (or as a package user),
you don't need it either.  ;-)

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.7 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFH8rRZS5vET1Wea5wRAxFvAJ9rV10D8G8FBWnw28QTpLQcTFbMUgCeKaLV
/C0KcDWqvivQKm98v0S8nIs=
=k6MY
-----END PGP SIGNATURE-----
-- 
http://linuxfromscratch.org/mailman/listinfo/lfs-dev
FAQ: http://www.linuxfromscratch.org/faq/
Unsubscribe: See the above information page

Reply via email to