Download your favorite Linux distribution at LQ ISO.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
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!


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

Rep: Reputation: 0
nfs errormessge permission denied


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
LQ Guru
Registered: Aug 2001
Location: Fargo, ND
Distribution: SuSE AMD64
Posts: 15,733

Rep: Reputation: 677Reputation: 677Reputation: 677Reputation: 677Reputation: 677Reputation: 677
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:
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 than simply 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!


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 > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 03:47 AM.

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