From owner-freebsd-questions Sat Sep 25 14:59:25 1999 Delivered-To: freebsd-questions@freebsd.org Received: from cc942873-a.ewndsr1.nj.home.com (cc942873-a.ewndsr1.nj.home.com [24.2.89.207]) by hub.freebsd.org (Postfix) with ESMTP id C377114CE8 for ; Sat, 25 Sep 1999 14:59:18 -0700 (PDT) (envelope-from cjc@cc942873-a.ewndsr1.nj.home.com) Received: (from cjc@localhost) by cc942873-a.ewndsr1.nj.home.com (8.9.3/8.9.3) id SAA47075; Sat, 25 Sep 1999 18:02:11 -0400 (EDT) (envelope-from cjc) From: "Crist J. Clark" Message-Id: <199909252202.SAA47075@cc942873-a.ewndsr1.nj.home.com> Subject: Re: Easy NFS problem :/ In-Reply-To: from Sabre at "Sep 25, 1999 03:01:29 pm" To: sabre@sabre.dhs.org (Sabre) Date: Sat, 25 Sep 1999 18:02:11 -0400 (EDT) Cc: freebsd-questions@FreeBSD.ORG Reply-To: cjclark@home.com X-Mailer: ELM [version 2.4ME+ PL54 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Sabre wrote, > Hey all, I have the following NFS setup: > Server IP:321.321.321.321 > Client IP:123.123.123.123 > > On server: > /etc/exports: > /export/disk1 -alldirs 123.123.123.123 rw > /export/disk2 -alldirs 123.123.123.123 rw > > On the client I try to mount using: > mount_nfs 321.321.321.321:/export/disk1 /disk1 > mount_nfs 321.321.321.321:/export/disk2 /disk2 > > It mounts just fine, but when I go to write on the disk from the client, > it says permission denied. TIA! > SAbre First, your exports file is telling the server to export those file systems to the host 123.123.123.123 and a host named "rw", which I doubt is your intention. NFS mounts are read-write by default; no need to try to include that in /etc/exports. Second, do you actually have permission to write wherever you are trying to? Read-write permissions on NFS are done by uid. Does your uid have permission to write wherever you are trying? And note that root will be mapped to nobody in your setup. -- Crist J. Clark cjclark@home.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message