mountd/nfs export options
freebsd-questions-local at be-well.ilk.org
Tue Nov 4 05:44:59 PST 2003
Antoine Jacoutot <ajacoutot at 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.
More information about the freebsd-questions