LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Networking (https://www.linuxquestions.org/questions/linux-networking-3/)
-   -   nfs permission denied (https://www.linuxquestions.org/questions/linux-networking-3/nfs-permission-denied-453097/)

noir911 06-09-2006 03:32 AM

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

noir911 06-09-2006 04:04 AM

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?


All times are GMT -5. The time now is 02:52 AM.