Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 3 Jun 1997 17:18:06 -0700 (PDT)
From:      asami@cs.berkeley.edu (Satoshi Asami)
To:        bde@zeta.org.au
Cc:        dmaddox@scsn.net, ports@FreeBSD.ORG
Subject:   Re: Ports 'make install' and mtree
Message-ID:  <199706040018.RAA03524@silvia.HIP.Berkeley.EDU>
In-Reply-To: <199706032323.JAA02401@godzilla.zeta.org.au> (message from Bruce Evans on Wed, 4 Jun 1997 09:23:39 %2B1000)

next in thread | previous in thread | raw e-mail | index | archive | help
 * This is caused by:
 * - /usr/local is owned by bin:bin    according to /etc/mtree/BSD.usr.dist
 * - "."        is owned by root:wheel according to /etc/mtree/BSD.local.dist
 * - `make hierarchy' goes through the mtree files in a strange (alphabetical)
 *   order, so BSD.local.dist is done before BSD.usr.dist.

I didn't know that `make hierarchy' uses BSD.local.dist....

 * It's reasonable for mount points to have different permissions than the
 * root directory of mounted file systems, but the difference is probably
 * backwards here.

Which way should I fix it?  (I was about to ask you, Bruce. :)

 * `make install' runs mtree on /etc/mtree/BSD.local.dist and doesn't run
 * it on BSD.usr.dist.

This is by design.  Unless you can run it on BSD.usr.dist but only
for the "local" directory, I don't think we would want to add that.

 * This is better than pkg_add, which runs mtree on stale copies of
 * BSD.local.dist in packages, so that you can't fix this problem or
 * others in your local copy of BSD.local.dist.

This is again, by design.  The problem is meant to be fixed at the
package-creation machine, not in individual users' machines.

Satoshi



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199706040018.RAA03524>