Skip site navigation (1)Skip section navigation (2)
Date:      04 Nov 2003 08:44:57 -0500
From:      Lowell Gilbert <freebsd-questions-local@be-well.ilk.org>
To:        freebsd-questions@freebsd.org
Subject:   Re: mountd/nfs export options
Message-ID:  <44llqwp7s6.fsf@be-well.ilk.org>
In-Reply-To: <3FA66270.2000508@lphp.org>
References:  <200311021520.32391.ajacoutot@lphp.org> <44ekwpimv1.fsf@be-well.ilk.org> <3FA66270.2000508@lphp.org>

next in thread | previous in thread | raw e-mail | index | archive | help
Antoine Jacoutot <ajacoutot@lphp.org> 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.



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