Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 25 Sep 1999 18:02:11 -0400 (EDT)
From:      "Crist J. Clark" <cjc@cc942873-a.ewndsr1.nj.home.com>
To:        sabre@sabre.dhs.org (Sabre)
Cc:        freebsd-questions@FreeBSD.ORG
Subject:   Re: Easy NFS problem :/
Message-ID:  <199909252202.SAA47075@cc942873-a.ewndsr1.nj.home.com>
In-Reply-To: <Pine.BSF.4.10.9909251456120.2151-100000@sabre.dhs.org> from Sabre at "Sep 25, 1999 03:01:29 pm"

next in thread | previous in thread | raw e-mail | index | archive | help
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




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