Skip site navigation (1)Skip section navigation (2)
Date:      Tue,  4 Nov 2003 17:20:32 +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:  <1067962832.3fa7d1d0bdde4@webmail.lphp.org>
In-Reply-To: <20031104154422.GL621@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> <3FA7BE81.5050101@lphp.org> <20031104154422.GL621@npkfbsd>

next in thread | previous in thread | raw e-mail | index | archive | help
Selon Nathan Kinkade <nkinkade@fastmail.fm>:
> Hmmm ... again, certainly this is an option that has crossed your mind
> already, but would it be impossible or impractical to move
> /exports/share2 to a diff filesystem, such that you could then export
> with different options.  If for some reason share1 and share2 must both

The thing is that I cannot move share1 or share2 away from this filesystem
because of different reasons... the main one would be money.

> /exports/share1 -maproot=nobody:nobody -network 192.168.0.0
> /diff/filesys/share2 -mapall=root:users -network 192.168.0.0

I thank you so much for trying to help me.
Unfortunately, I don't see any resolution to this problem but I'm not desperate,
I'm sure there's a way to do what I need.

One thing I though about:
is it possible to force every writes under /exports/share2 to be GID=users ? I'm
not an expert when it comes to setgid, but maybe I should have a look at it.
Then I could just use:
/exports/share1 /exports/share2 -maproot=nobody:nobody -network 192.168.0.0

And every created files to /exports/share2 would be GID=users... I guess... ?

Antoine



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