Subject: Re: Upgrade V2RC2 su problem
To: thilo <jeremias_IGNORE_THIS@optushome.com.au>
From: None <cube@cubidou.net>
List: current-users
Date: 10/14/2004 15:22:58
On Thu, Oct 14, 2004 at 11:15:11PM +1000, thilo wrote:
> Not quite
> I run
> build.sh -U ../obj -T ../tools
> build.sh -U -T ../tools ../obj install=/
>
> but:
> bash-2.05# ls -l obj/destdir.i386//usr/bin/su
> -r-xr-xr-x 1 root wheel 19488 Oct 11 00:53 obj/destdir.i386//usr/bin/su
> bash-2.05#
>
> already did not have them
Of course it did not, you compiled with -U. That's why it is _critical_
to pass it to install=/, too, so that the build system will look at the
METALOG file to set correct permissions.
> Is there already a script that fixes them ?
Check if the METALOG file contains the correct permissions:
./usr/bin/su type=file mode=04555 uname=root gname=wheel [...]
If it is correct, do the install step again, making sure you use -U. You
can try building the sets, too (using 'sets' target), and check if the
permissions are correct in there, too.
Quentin Garnier.