Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations bkrike on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

NFS Permission Denied

Status
Not open for further replies.

dcutinha

MIS
May 3, 2001
24
FI
Hi Friends
I have the following problem with NFS:
I have 2 Servers HOSTA and HOSTB both running Solaris 8
HOSTA is the NFS Server and the following has been
shared /a/data using /etc/dfs/dftab entries as follows:
share -F nfs -o ro=hosta:hostb:hostc:hostd -d "Data " /a/data
And the following nfs deamons are up and running at the Server ie HOSTA :
daemon 236 1 0 18:30:18 ? 0:00 /usr/lib/nfs/statd
root 235 1 0 18:30:18 ? 0:00 /usr/lib/nfs/lockd
root 459 1 0 18:30:45 ? 0:00 /usr/lib/nfs/mountd
root 461 1 0 18:30:45 ? 0:00 /usr/lib/nfs/nfsd -a 16
And the following nfs deamons are up and running at the Client ie HOSTB :
daemon 236 1 0 18:30:18 ? 0:00 /usr/lib/nfs/statd
root 235 1 0 18:30:18 ? 0:00 /usr/lib/nfs/lockd
root 459 1 0 18:30:45 ? 0:00 /usr/lib/nfs/mountd
And the share command shows :
- /a/data ro=hosta:hostb:hostc:hostd "Data "
This is the output of dfshares in HOSTA :
RESOURCE SERVER ACCESS TRANSPORT
hosta:/a/data hosta - -
This is the output of dfshare in HOSTB :
RESOURCE SERVER ACCESS TRANSPORT
hosta:/a/data hosta - -
This is the output of showmount -e hosta :
/a/data hosta,hostb,hostc,hostd
but when i say :
cd /net/hosta/a/data
it says
ksh: data: permission denied
I wonder why ?
PS: We have a NIS setup here and both hosta and hostb are
NIS clients . I donot know how to relate NIS Stuff with NFS.
Looking forward for some things i am missing .
br
DJC
 
have you given host B access to host a using chmod command? I believe world access is needed because I had the same issue after setting up NFS and NIS. I say I believe world access is needed because I gave my hosts world access and that solved the problem. If there are any other users out there, could you verify world access is needed? If there is something less, please post a reply. Let me know if that works for you.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top