From owner-freebsd-questions@FreeBSD.ORG Tue Nov 4 08:23:50 2003 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 92D0916A4CE for ; Tue, 4 Nov 2003 08:23:50 -0800 (PST) Received: from mail.lphp.org (APastourelles-107-1-1-41.w80-13.abo.wanadoo.fr [80.13.78.41]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7A7AF43FDD for ; Tue, 4 Nov 2003 08:23:48 -0800 (PST) (envelope-from ajacoutot@lphp.org) Received: from srv01.lphp.local (localhost [127.0.0.1]) by mail.lphp.org (8.12.10/8.12.10) with ESMTP id hA4GKeBw030129; Tue, 4 Nov 2003 17:20:40 +0100 (CET) (envelope-from ajacoutot@lphp.org) Received: (from www@localhost) by srv01.lphp.local (8.12.10/8.12.10/Submit) id hA4GKWg7030128; Tue, 4 Nov 2003 17:20:32 +0100 (CET) (envelope-from ajacoutot@lphp.org) Received: from modem209.metz.imaginet.fr (modem209.metz.imaginet.fr [195.68.12.209]) by webmail.lphp.org (IMP) with HTTP for ; Tue, 4 Nov 2003 17:20:32 +0100 Message-ID: <1067962832.3fa7d1d0bdde4@webmail.lphp.org> Date: Tue, 4 Nov 2003 17:20:32 +0100 From: Antoine Jacoutot To: Nathan Kinkade 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> In-Reply-To: <20031104154422.GL621@npkfbsd> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit User-Agent: Internet Messaging Program (IMP) 3.2.2 / FreeBSD-5.1 cc: freebsd-questions@freebsd.org Subject: Re: mountd/nfs export options X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 04 Nov 2003 16:23:50 -0000 Selon Nathan Kinkade : > 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