LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 06-09-2006, 03:32 AM   #1
noir911
Member
 
Registered: Apr 2004
Posts: 682

Rep: Reputation: Disabled
nfs permission denied


I have setup nfs but it says permission denied. I can't even mount the nfs share from the server, gives the same error.

Here's my rpcinfo -p

Quote:
program vers proto port
100000 2 tcp 111 portmapper
100000 2 udp 111 portmapper
100003 2 udp 2049 nfs
100003 3 udp 2049 nfs
100003 2 tcp 2049 nfs
100003 3 tcp 2049 nfs
100005 1 udp 707 mountd
100005 3 udp 707 mountd
100005 1 tcp 836 mountd
100005 3 tcp 836 mountd
Here's some more info:

* client server both openbsd
* I have rebooted both client server
* there is no firewall (I can ping/ssh both ends)
* trying to mount as root

showmount -e 192.168.1.65 from the client shows -
Quote:
Exports list on 192.168.1.65:
/my_nfs 192.168.1.0

Last edited by noir911; 06-09-2006 at 03:41 AM.
 
Old 06-09-2006, 04:04 AM   #2
noir911
Member
 
Registered: Apr 2004
Posts: 682

Original Poster
Rep: Reputation: Disabled
I have solved this problem. My /etc/export was

/nfs -alldirs -network=192.168.1 -mask=255.255.255.0

I changed it to

/nfs -maproot=0:500 -network=192.168.1 -mask=255.255.255.0

And all is good.

Does anyone know why it was giving me the permission error?
 
  


Reply

Tags
denied, nfs, permission, permissions



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 07:24 PM
PLEASE help, NFS (permission denied) Nappa Slackware 15 01-13-2004 07:17 PM
NFS permission denied somesh Linux - Software 2 07-22-2003 02:42 PM
NFS - Permission Denied... 15788 Linux - Networking 9 04-06-2003 09:43 AM
Permission Denied NFS graystarr Linux - Networking 9 07-08-2002 05:06 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 10:33 PM.

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
Open Source Consulting | Domain Registration