Subject: Re: HEADS UP: new build.sh & top level Makefile functionality ...
To: Ronald van der Pol <Ronald.vanderPol@rvdp.org>
From: Julio Merino <jmmv@menta.net>
List: current-users
Date: 12/30/2002 11:51:47
On Mon, 30 Dec 2002 11:32:22 +0100
Ronald van der Pol <Ronald.vanderPol@rvdp.org> wrote:

> I have successfully built as myself with
> $ sh build.sh -D xxx -T yyy -U
> and installed with
> # make DESTDIR=xxx TOOLDIR=yyy installworld
> 
> 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.

If you built unprived (-U), you need to install that way too. So the
installworld call should be:

# make DESTDIR=xxx TOOLDIR=yyy installworld UNPRIVED=yes

This will parse the METALOG file and set the permissions right at install
time.

HTH