mountd/nfs export options

Antoine Jacoutot ajacoutot at lphp.org
Tue Nov 4 06:58:38 PST 2003


Nathan Kinkade wrote:
  > Must they be two separate exports, or could you simply export /exports
> and then control read/write access to /exports/share1 and
> /exports/share2 using regular unix file permissions?  For example:
> 
> dr-xr-xr-x  2 user  group  4096 Nov  4 08:34 share1/
> drwxrwxrwx  2 user  group  4096 Nov  4 08:35 share2/
> 
> This seems like an overly simple solution to work in your case, but
> sometimes the simple things get overlooked.

I can do this, unfortunately, what I would like to do is not a 
read/write permission export option but this:

------------------------------------------------------------------
/exports/share1 -maproot=nobody:nobody -network 192.168.0.0 -mask 
255.255.255.0
/exports/share2 -mapall=root:users -network 192.168.0.0 -mask 255.255.255.0
------------------------------------------------------------------

Regards,
Antoine



More information about the freebsd-questions mailing list