Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 24 Jan 2007 09:23:52 -0600
From:      Kevin Kinsey <kdk@daleco.biz>
To:        Warren Head <warrenhead@gmail.com>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: nfs mount rw
Message-ID:  <45B77A08.4060703@daleco.biz>
In-Reply-To: <51e113440701240553t53217acfna5c60db02ddeb3c8@mail.gmail.com>
References:  <51e113440701240553t53217acfna5c60db02ddeb3c8@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
Warren Head wrote:
> Hi,
> 
> I am trying to get write access on a nfs share.
> As far as I can tell by reading around, this should be the syntax in the
> exports file:
> 
> /maptoshare    machinetoshareto(rw)
> 
> When I -HUP mountd though, it tells me that the line in the exports file is
> wrong.
> So I change it into this:
> /maptoshare    machinetoshareto
> 
> and then all is fine. I can mount it as well, but I don't have writing
> access, only reading.
> 
> How should I specify the (rw) part?

You don't need to specify "rw" as such --- it is the default, which is 
why you get an error message when you attempt to do so.

See exports(5) for more information about the configuration file.  You 
don't say much about whom should have access, and to what, but I suspect 
you want to either use "-maproot=user" or "-public" or ? ....

Disclaimer: IANAE.

Kevin Kinsey
-- 
Ain't no right way to do a wrong thing.
		-- The Mad Dogtender



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