Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 04 Nov 2003 15:58:09 +0100
From:      Antoine Jacoutot <ajacoutot@lphp.org>
To:        Nathan Kinkade <nkinkade@fastmail.fm>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: mountd/nfs export options
Message-ID:  <3FA7BE81.5050101@lphp.org>
In-Reply-To: <20031104144144.GJ621@npkfbsd>
References:  <200311021520.32391.ajacoutot@lphp.org> <44ekwpimv1.fsf@be-well.ilk.org> <3FA66270.2000508@lphp.org> <44llqwp7s6.fsf@be-well.ilk.org> <3FA7B23D.1000102@lphp.org> <20031104144144.GJ621@npkfbsd>

next in thread | previous in thread | raw e-mail | index | archive | help
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



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