Subject: Re: Interesting Server permissions situation....
To: Bruce Martin <brucem@cat.co.za>
From: Erich T. Enke <Erich.T.Enke@wheaton.edu>
List: netbsd-help
Date: 02/14/2000 08:21:27
On Mon, 14 Feb 2000, Bruce Martin wrote:

> Hi All,
> 
> We have one system on our network that is responsible for holding all pkgsrc
> distfiles. So, what we do is mount an nfs from that directory to
> /usr/pkgsrc/distfiles on our local machines, and this works quite nicely:
> one central copy of the distfiles for use by everybody. Problem: somebody
> decides to delete their pkgsrc tree without umounting distfiles, and we all
> lose our distfiles! If we export the nfs read only, then nobody can add
> packages to the collection. Does anybody have an idea of how we could all
> share this distfiles directory, be able to read it as well as put new files
> on it, but not be able to delete any of the files on it?

How about mounting it to a different place (not under pkgsrc)?  Then add
DISTDIR=/new/location in /etc/mk.conf to provide functionality.  That's
how we have it set up and I've never had problems with it.

Hope that helps,

Erich Enke
Wheaton College Science Division