Need some help with mounting share using NFS. I configured both the server and client stations with NFS server and NFS client settings respectively. Here is the configs:
On NFS server the /share directory is created.
On NFS client home/trojan/mount directory is created.
Here is the /etc/exports config:
Both on NFS server and client the user trojan with GID 1001 and UID 1001 is created.
When I try to mount share under trojan user I get the following:
What is the cause of it?
Code:
shlus# grep nfs /etc/rc.conf - on server
rpcbind_enable="YES"
nfs_client_enable="YES"
nfs_server_enable="YES"
nfs_server_flags="-u -t -n 4"
mountd_flags="-r"
Code:
$ grep nfs /etc/rc.conf - on client
nfs_client_enable="YES"
nfs_client_flags="-n 4"
On NFS client home/trojan/mount directory is created.
Here is the /etc/exports config:
Code:
/share -maproot=root trojan
Both on NFS server and client the user trojan with GID 1001 and UID 1001 is created.
When I try to mount share under trojan user I get the following:
Code:
$ mount shlus:/share /home/trojan/mount
[udp] shlus:/share: Permission denied
What is the cause of it?