From owner-freebsd-stable@FreeBSD.ORG Wed Jan 30 18:34:47 2008 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 4758B16A419 for ; Wed, 30 Jan 2008 18:34:47 +0000 (UTC) (envelope-from lists@jnielsen.net) Received: from ns1.jnielsen.net (ns1.jnielsen.net [69.55.238.237]) by mx1.freebsd.org (Postfix) with ESMTP id 2A2D413C442 for ; Wed, 30 Jan 2008 18:34:47 +0000 (UTC) (envelope-from lists@jnielsen.net) Received: from ns1.jnielsen.net (jn@ns1 [69.55.238.237]) by ns1.jnielsen.net (8.12.9p2/8.12.9) with ESMTP id m0UIYkqU006409; Wed, 30 Jan 2008 13:34:46 -0500 (EST) (envelope-from lists@jnielsen.net) Received: (from www@localhost) by ns1.jnielsen.net (8.12.9p2/8.12.9/Submit) id m0UIYk4n006408; Wed, 30 Jan 2008 13:34:46 -0500 (EST) (envelope-from lists@jnielsen.net) X-Authentication-Warning: ns1.jnielsen.net: www set sender to lists@jnielsen.net using -f Received: from nc-2wac-zop10.wachovia.com (nc-2wac-zop10.wachovia.com [162.111.235.22]) by newwebmail.jnielsen.net (Horde MIME library) with HTTP; Wed, 30 Jan 2008 13:34:46 -0500 Message-ID: <20080130133446.ahbk7nt68sk0ccs8@newwebmail.jnielsen.net> Date: Wed, 30 Jan 2008 13:34:46 -0500 From: John Nielsen To: arlogeek@lonetree.com References: <200801301019.26194.arlogeek@lonetree.com> In-Reply-To: <200801301019.26194.arlogeek@lonetree.com> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format="flowed" Content-Disposition: inline Content-Transfer-Encoding: 7bit User-Agent: Internet Messaging Program (IMP) H3 (4.0.4) / FreeBSD-4.9 X-Virus-Scanned: ClamAV version 0.88.4, clamav-milter version 0.88.4 on ns1.jnielsen.net X-Virus-Status: Clean Cc: freebsd-stable@freebsd.org Subject: Re: newbie question about NFS X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 30 Jan 2008 18:34:47 -0000 Read the exports(5) manpage. Its format is different on FreeBSD than it is on Linux. (rw) isn't valid. Pay particular attention to the section about "maproot". "In the absence of -maproot and -mapall options, remote accesses by root will result in using a credential of -2:-2." So if you mounted the directory as root on the client side then you were given no permissions. Either add a "-maproot=root" flag to your exports line (insecure) or change the ownership on the server to be a different user and mount as that user on the client. JN Quoting geek : > I am using FreeBSD 6.2. I am trying to export a directory so that another > machine can read and write to it. > > With an /etc/exports file that says: > > /Data 192.168.1.20(rw) > > I get an empty directory on the client machine. > > I know that there are files in the directory. They show when I list the > contents on the FreeBSD machine. > > If I leave off the (rw), then the contents of the directory are visible. > > But the documents are read only. > > What am I doing wrong here? > > Thanks to all for any help. > _______________________________________________ > freebsd-stable@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-stable > To unsubscribe, send any mail to "freebsd-stable-unsubscribe@freebsd.org" > >