I created a user and a group with the same uid and gid on the NFS server and the NFS client side.
The export on the server side looks like this:
/volume1/nextcloud *(rw,async,no_wdelay,no_root_squash,insecure_locks,sec=sys,anonuid=1025,anongid=100)
I mount the NFS share from the server on the client side in the /etc/fstab
:
192.168.1.60:/volume1/nextcloud /mnt/nas/nextcloud nfs rw,user,vers=4 0 0
The folder on the NAS server has the rights:
drwxrwx--- 12 nas nas 4096 Jul 7 11:11 nextcloud
When I then run sudo mount -a
the share gets mounted without any error. I also see that the mounted share has the same owner nas:nas
and the same rights drwxrwx---
on the client system. But still if I try to cd nextcloud/
into it all I get is:
cd: nextcloud/: Permission denied
Did I miss something?