I do not get the expected file permissions from my Lan Server using NFS4.
Mounting the 'exports' dir as a client works fine.
ls outputs the correct folder content. But if the client tries to
cd into a dir, he gets a "Permission denied".
If the client uses
ls -l to list the content of the mounted folder, he gets GID:UID numbers for the owner of each file. I was expecting NFS4 to give the client username:groupname as a string not as a number. The shown UIDs do not match the UID of the client user. I think this is why I get "permission denied".
I have a user 'Paul'(UID=1004) on the server and a user 'Paul'(UID=1000) on the client. I'd like to handle NFS4 file permissions by the names NOT by the IDs.
This is the current setup:
Mounting as client:
how I mount the exports on the Ubuntu 14.04 client:
sudo mount.nfs4 192.168.178.10:/ /fs_data -o soft,intr,rsize=8192,wsize=8192
NFS Server Setup:
all the changes that I made to the NFS4 server on Raspbian, after installing 'nfs-kernel-server', 'rpcbind', 'nfs-common'
rpcbind: 192.168.178.20 , 192.168.178.21
/exports 192.168.178.20(rw,sync,fsid=0,crossmnt,no_subtree_check,no_root_squash,insecure) 192.168.178.21(rw,sync,fsid=0,crossmnt,no_subtree_check,no_root_squash,insecure) /exports/paul 192.168.178.20(rw,sync,no_subtree_check,no_root_squash,insecure) 192.168.178.21(rw,sync,no_subtree_check,no_root_squash,insecure)
Any clue, what I'm missing?