QNX RTOS v4 Knowledge Base
QNX RTOS v4 Knowledge Base
Title |
"mount RPC error on trsrtc2:/nfstest: Permission denided" error when mounting an NFS directory |
Ref. No. |
QNX.000005681 |
Category(ies) |
Network, Configuration |
Issue |
We are attempting to set up NFS between two TCP/IP networked machines. Our machines can ping each other via either IP or hostname.
On the NFS server, we call 'nfsstart' before inetd runs as per the explanation in the "TCP/IP Utilities" manual.
On the NFS Server, we used the default nfsstart file. From the client machine, we tried the following command:
mount_nfs trsrtc2:/nfstest /nfs
and got the response:
mount RPC error on trsrtc2:/nfstest: Permission denied
|
Solution |
The exports file must have all of the directories that are to be mounted. If it only has '/' in it then only / may be mounted. |
|