Subject: Re: HEADS UP: new & top level Makefile functionality ...
To: Luke Mewburn <>
From: Ronald van der Pol <>
List: current-users
Date: 12/30/2002 16:33:43
On Mon, Dec 30, 2002 at 23:43:32 +1100, Luke Mewburn wrote:

>   | The only catch was that after the build as user all directories in DESTDIR
>   | were of mode 700. My umask=022. How can I make sure they get mode=755?
>   | I do the install over NFS with root=nobody, so all files must be world
>   | readable.
> Since you're running with -U (UNPRIVED), you should run the
> installworld with the same option, so that the build system knows to
> Do The Right Thing with permissions from the info stored in

I will check my system for the permissions. However, my question was
about the build phase. After the build the directories in DESTDIR
are 700 and thus not readable by root over NFS.

> To make things easier, I'd just change your installation routine to:
> 	# yyy/bin/nbmake-`uname -m` UPDATE=1 installworld
> I.e, run "$TOOLDIR/bin/nbmake-$MACHINE" with "UPDATE=1 installworld".
> As nbmake-$MACHINE is a shell script wrapper to $TOOLDIR/bin/nbmake
> which contains the various settings from the last time you ran,
> it already has the settings for DESTDIR, TOOLDIR, UNPRIVED, (...)
> You could simplify things even more by using "-u" with; then
> you don't need "UPDATE=1" on installworld commandline.

Hmm, interesting. I did not know this. Time to update the documentation :-)