Subject: Re: permission problem after UNPRIVED build
To: None <netbsd-help@netbsd.org>
From: Jukka Salmi <jukka-netbsd@2004.salmi.ch>
List: netbsd-help
Date: 04/09/2004 14:47:18
Hello,

I'm having problems with installing an UNPRIVED distribution to /
using recent NetBSD 1.6.2 stable sources. What I did:

$ cd /usr/src
$ sudo -u build ./build.sh -u -U -M /opt/obj -T /opt/tools -D /opt/dst -d
$ sudo ./build.sh -u -U -M /opt/obj -T /opt/tools

build.sh returned zero so I assumed everything went allright. But it
resulted in binaries with incorrect permissions installed (e.g.
/sbin/ping and /usr/bin/su now have 0555).

Another thing I noticed: the 2nd build.sh invocation (see above) created
a new file /METALOG, but it differs from $DESTDIR/METALOG. However, it
seems to have correct permission (mode values) for e.g. /sbin/ping and
/usr/bin/su.

What did I do wrong? How can I fix the permissions easily?


TIA, Jukka

-- 
bashian roulette:
$ ((RANDOM%6)) || rm -rf ~