Subject: Re: Wrong permissions?
To: Andrew Brown <atatat@atatdot.net>
From: Luke Mewburn <lukem@netbsd.org>
List: current-users
Date: 03/30/2003 20:30:34
On Fri, Mar 28, 2003 at 01:15:06PM -0500, Andrew Brown wrote:
| >>./build.sh -U -D /usr/dist -E distribution
| >>./build.sh -D /usr/dist -U install=/
| >
| >Hi Peter,
| >You *MUST* be root when you do that second line. The unprived mode
| >lets you not be root during BUILDING, but to do the actual install
| >requires root since regular users cannot make a binary be SUID root
| >(as you noticed).
|
| indeed. i don't know for sure, but i am suspecting that the -U is
| what's fouling things up for you when things are installed. try
| again, as root, but without that flag?
bad advice!
if you built with "-U distribution", you must use -U in "-U install=/somedir",
otherwise the METALOG won't be used in the latter case, and you'll
most likely end up with incorrect permissions...