Subject: Re: Wrong permissions?
To: Michael Schabert <mikeride@mac.com>
From: Frederick Bruckman <fredb@immanent.net>
List: current-users
Date: 03/30/2003 11:32:54
On Sun, 30 Mar 2003, Michael Schabert wrote:

> >I do my builds with following commands:
> >
> >   ./build.sh -M/usr/obj -T/usr/tools -D/usr/NetBSD/dest -rU tools
> >   ./build.sh -M/usr/obj -T/usr/tools -D/usr/NetBSD/dest -uU build
> >   ./build.sh -M/usr/obj -T/usr/tools -D/usr/NetBSD/dest -uU kernel=TXPO
> >   Install kernel with cp
> >   ./build.sh -M/usr/obj -T/usr/tools -D/usr/NetBSD/dest -uU install=/
>
> But the *very* important step that you're leaving out is that you must su(d0)
> to root before the install. If you perform those steps in exactly the order that
> you list, then you either (1) were root the whole time (making -U useless),
> or (2) could not have done the proper install with permissions because you were
> not root ever.

Not only that, you should reboot after installing the new kernel, else
you're liable to get coredumps for any program you try to run.

Frederick