Subject: Re: make distrib-dirs doesn't stop on mtree error
To: Curt Sampson <cjs@cynic.net>
From: Simon Burge <simonb@netbsd.org>
List: tech-userlevel
Date: 03/09/2000 10:29:01
Curt Sampson wrote:
> On Wed, 8 Mar 2000, Julian Coleman wrote:
>
> > My question is - why doesn't the make fail when mtree fails? It's trivial
to
> > change, but why is it the way it is?
>
> Perhaps because this way you can at least make an attempt at creating
> a tree and installing the files, even if you aren't root?
This is correct - when I added the UNPRIVELEGED stuff to allow "make
build" as a normal user, I don't think (from memory) that there was a
flag to mtree to say create the directory tree but don't bomb if you
can't set the owner.
Simon.