OpenWrt Forum Archive

Topic: NFS Permission denied

The content of this topic has been archived on 7 May 2018. There are no obvious gaps in this topic, but there may still be some posts missing at the end.

Hello,
I wanted to try NFS as an alternative to Samba but with no success. I installed:

ipkg install kmod-fs-nfs nfs-server

Config:

root@ap:~# cat /etc/exports
/mnt/usbdrive 192.168.2.1/24 (rw,no_root_squash,async)

When I try to mount from a client:

root@laptop:~# mount 192.168.2.1:/usbdrive /extra/
mount.nfs: 192.168.2.1:/usbdrive failed, reason given by server: Permission denied

Running nfs processes on the server:

 5862 nobody     1680 S   /usr/sbin/portmap
 5864 root       2064 S   /usr/sbin/rpc.mountd -r
 5866 root       1828 S   /usr/sbin/rpc.nfsd

Thanks for your help,
T.

(Last edited by Tex-Twil on 4 Apr 2008, 22:03)

root@ap:~# cat /etc/exports
/mnt/usbdrive 192.168.2.1/24 (rw,no_root_squash,async)

It seems it was the white space between the IP and the rights ....

The discussion might have continued from here.