LinuxQuestions.org
Register a domain and help support LQ
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 10-01-2008, 12:11 PM   #1
roshik97
LQ Newbie
 
Registered: Aug 2008
Posts: 1

Rep: Reputation: 0
nfs errormessge permission denied


Hi

Can any one help me to configure nfs server & client, i already configured but i get an error message 'permission denied' when i access an shared directory in nfs server

I have given like this only

/home 172.16.*.*(rw,no_root_squash)


please give an example exportfs file also


Roshin k
 
Old 10-01-2008, 02:00 PM   #2
jschiwal
LQ Guru
 
Registered: Aug 2001
Location: Fargo, ND
Distribution: SuSE AMD64
Posts: 15,733

Rep: Reputation: 670Reputation: 670Reputation: 670Reputation: 670Reputation: 670Reputation: 670
Do your users have the same UID on the server and client machines?

Using no_root_squash is not a good idea IMHO.

Here are the first two entries of my desktops /etc/exports file:
/home/jschiwal/podcasts 192.168.1.0/255.255.255.0(fsid=0,rw,root_squash,sync,no_subtree_check)
/home/jschiwal/music 192.168.1.0/255.255.255.0(rw,root_squash,sync,no_subtree_check)
The rest of the entries are similar to the second one. I use NFS V3, but the server supports NFS V4. Maybe that could make a difference.

I found that I have better luck using 192.168.1.0/255.255.255.0 than simply 192.168.1.0. The options were the default that a wizard selected.


I'm not certain whether you don't have a problem mounting but your problem is accessing the directories. What do your /etc/fstab entries look like? I use the options "defaults,user,_netdev". I'm the only user and this lets me mount them without sudo access. The _netdev option defers mounting until the network is ready.

Good Luck!
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
nfs 'permission denied' friendly_guy Slackware 7 01-02-2005 08:24 PM
PLEASE help, NFS (permission denied) Nappa Slackware 15 01-13-2004 08:17 PM
NFS permission denied somesh Linux - Software 2 07-22-2003 03:42 PM
NFS - Permission Denied... 15788 Linux - Networking 9 04-06-2003 10:43 AM
Permission Denied NFS graystarr Linux - Networking 9 07-08-2002 06:06 PM


All times are GMT -5. The time now is 08:37 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration