Subject: Re: Someone set me straight about mtree?
To: Geoff Wing <mason@primenet.com.au>
From: Mason Loring Bliss <mason@acheron.middleboro.ma.us>
List: netbsd-help
Date: 05/17/1999 15:40:44
On Fri, May 14, 1999 at 03:18:29AM +0000, Geoff Wing wrote:

> Mason Loring Bliss <mason@acheron.middleboro.ma.us> typed:
> :I like to have /var/mail be group-owned by "mail" and mode 0775. In my
> :/etc/mtree/special I've got:
> :mail            type=dir mode=0775 uname=root gname=mail ignore
> :However, "make build" does:
> :(cd /usr/src/etc && make DESTDIR=/ distrib-dirs)
> :install -d -o root -g wheel -m 755 /
> :mtree -def mtree/NetBSD.dist -p // -u
>             ^^^^^^^^^^^^^^^^^

Yes, but where do I specify the group ownership of that one directory in
NetBSD.dist? That's what's changing that shouldn't be changing, and the
only place I see that happening is in special.

Hm... I *do* see this in NetBSD.dist:

/set type=dir uname=root gname=wheel mode=0755

I wonder if I can wrap set directives around the mail directory entry...
I'll have to try that. Or, anyway, I'll have to look at what /set is
doing, anyway.

-- 
Mason Loring Bliss             (( "In the drowsy dark cave of the mind dreams
mason@acheron.middleboro.ma.us  )) build  their nest  with fragments  dropped
http://acheron.ne.mediaone.net ((  from day's caravan." - Rabindranath Tagore