From owner-freebsd-questions@FreeBSD.ORG Wed Jan 24 15:24:03 2007 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 3BA6216A40A for ; Wed, 24 Jan 2007 15:24:03 +0000 (UTC) (envelope-from kdk@daleco.biz) Received: from ezekiel.daleco.biz (southernuniform.com [66.76.92.18]) by mx1.freebsd.org (Postfix) with ESMTP id EEA8E13C4DA for ; Wed, 24 Jan 2007 15:24:02 +0000 (UTC) (envelope-from kdk@daleco.biz) Received: from [192.168.2.2] (archangel.daleco.biz [69.27.145.126]) by ezekiel.daleco.biz (8.13.4/8.13.1) with ESMTP id l0OFNvdm052384; Wed, 24 Jan 2007 09:24:00 -0600 (CST) (envelope-from kdk@daleco.biz) Message-ID: <45B77A08.4060703@daleco.biz> Date: Wed, 24 Jan 2007 09:23:52 -0600 From: Kevin Kinsey User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.8.0.7) Gecko/20060925 SeaMonkey/1.0.5 MIME-Version: 1.0 To: Warren Head References: <51e113440701240553t53217acfna5c60db02ddeb3c8@mail.gmail.com> In-Reply-To: <51e113440701240553t53217acfna5c60db02ddeb3c8@mail.gmail.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-questions@freebsd.org Subject: Re: nfs mount rw X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 24 Jan 2007 15:24:03 -0000 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