From owner-freebsd-questions@FreeBSD.ORG Tue Nov 4 05:44:58 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 EDE5316A4CE for ; Tue, 4 Nov 2003 05:44:58 -0800 (PST) Received: from be-well.no-ip.com (lowellg.ne.client2.attbi.com [66.30.200.37]) by mx1.FreeBSD.org (Postfix) with ESMTP id 527EA43FE5 for ; Tue, 4 Nov 2003 05:44:58 -0800 (PST) (envelope-from freebsd-questions-local@be-well.ilk.org) Received: by be-well.no-ip.com (Postfix, from userid 1147) id 994E83B05; Tue, 4 Nov 2003 08:44:57 -0500 (EST) Sender: lowell@be-well.ilk.org To: freebsd-questions@freebsd.org References: <200311021520.32391.ajacoutot@lphp.org> <44ekwpimv1.fsf@be-well.ilk.org> <3FA66270.2000508@lphp.org> From: Lowell Gilbert Date: 04 Nov 2003 08:44:57 -0500 In-Reply-To: <3FA66270.2000508@lphp.org> Message-ID: <44llqwp7s6.fsf@be-well.ilk.org> Lines: 20 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii 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 13:44:59 -0000 Antoine Jacoutot writes: > Lowell Gilbert wrote: > >> Is there a trick or anything I could use to exports 2 directories > >> on the same filesystem, but with different options ? > >> > >>For exemple, I have /dev/ad2s1d mounted on /exports. > >> I would like to export /exports/share1 read-only and > >> /exports/share2 read-write. > > > It's not possible, because there's no way to enforce it... > > > > Oh, man, that is to bad :( > I've got to find a way to do this or I'll have to use Linux instead, > IIRC it allows that kind of sharing. The limitation is in the NFS protocol, not in the FreeBSD implementation, so if Linux lets you do this, you're fooling yourself about the security involved.