Subject: Re: NFS directories exporting
To: Ben Livingood <bgood@nervana.montana.edu>
From: Frederick Bruckman <fb@enteract.com>
List: netbsd-help
Date: 01/11/2000 00:40:18
On Mon, 10 Jan 2000, Ben Livingood wrote:

> Hello. To proceed this I'm running 1.3.2 NetBSD on a 
> rather ancient pentium with 32 Megs of memory. I am
> NFS sharing this box over the network via NFS. My question
> is that can I export directories within mount points? 
> IE I have /usr that I'm exporting and I want to export /usr/local
> with root squashing turned off to one particular box. I already
> export /usr to the network but whenever I also export /usr/local
> I can't seem to get it to work.

Yes you can, but unless you want to use -alldirs on the mountpoint,
you have to use the exact same owners and permissions on every
subdirectory you list in /etc/exports. This is explained in the BUGS
section of exports(5).