Subject: Re: make install and includes vs. domestic
To: Gandhi woulda smacked you <greywolf@starwolf.com>
From: Jim Wise <jwise@unicast.com>
List: current-users
Date: 04/09/1999 17:32:51
-----BEGIN PGP SIGNED MESSAGE-----
On Fri, 9 Apr 1999, Gandhi woulda smacked you wrote:
>Is there some sort of uid mapping that goes on inside tar with which I'm
>not familiar? Last I knew, it required one to be super-user in order
>to make a setuid-anybody-else-besides-yourself binary.
tar simply creates a file on disk. For each file it archives in that
file, it records some information about that file, including the file's
owner and group. The suggestion was that pax should have a flag to
record some other group in the tar file.
Obviously, one would still need to be root to unpack the tar file and
actually create files with that ownership, but that is another matter...
Note that when package sets are integrated into NetBSD, there is a
_strong_ argument for having the build process create (as non-root)
package sets under a ${DESTDIR} and pkg_add them (as root) to the actual
system rather than install in place...
- --
Jim Wise
jwise@unicast.com
-----BEGIN PGP SIGNATURE-----
Version: PGPfreeware 5.0i for non-commercial use
Charset: noconv
iQEVAwUBNw5yCIkLDoBfn5jPAQH9Fwf+Jozsd8gYVYFMiy31BjeYP2VDXOYcjVVl
ApJdkWplzCz2aWWtS4SmkdvfaY7DN3kwv6EHm0TQboMNsT+DlorCZy8udvZXm5FO
Dv11+l9dMGQgOOwlHj2H4J+1lECucY1iIrg6xRp/qHsmvg6BP/cop3vvYflah6hr
0o9FciC2jgf1pJY1GtRQxudCgNUMMW7ztS3rxZH+CwCXZQtEdkUVm/PnDw9PZ4eU
GEng7xQ5AOjXhTKhBkAekdxWEfKq0u2bGm4OpNfBBorZLDgaCrViLAQeoNLf643Y
vXoCnFS3tz08/Ya2GRx7wA3SXf78RA3oKScGm2T3pB9OwCQg7k9kLQ==
=48Uo
-----END PGP SIGNATURE-----