I cannot understand how to set proper permissions for NVSv4.
I set NFS share and if I mount it by using NFSv3 the permissions are correct.
But if I mount it by using NFSv4 the group and user permissions are 32767.
I am using NFSv3 model for NFSv4; I expected that permissions will be the same as they were for v3.
I tried to switch to 'Support > 16 groups' but it did not help either.
If I understand correctly the problem is with 'nfsuserd' that incorrectly identifies the domain.
But I thought that NFSv3 model should resolve this problem.
I set my server name 'freenas.home', my workstation is pcbsd10.home; I expected that they should match, if 'nfsuserd' is used.
The structure of directories is /mnt/MEDIA/Movies, NFSv4 root is '/', 'Movies' is also shared as NFSv3.
If I mount 'Movies' as v3 then files have proper permission but if I mount '/mnt/MEDIA/Movies' as v4 the permissions are incorrect.
NFS has 'Enable NFSv4' and 'NFSv3 ownership...' checked. 'Movies' has 'Maproot user' set to root and 'All directories' checked.
I set NFS share and if I mount it by using NFSv3 the permissions are correct.
But if I mount it by using NFSv4 the group and user permissions are 32767.
I am using NFSv3 model for NFSv4; I expected that permissions will be the same as they were for v3.
I tried to switch to 'Support > 16 groups' but it did not help either.
If I understand correctly the problem is with 'nfsuserd' that incorrectly identifies the domain.
But I thought that NFSv3 model should resolve this problem.
I set my server name 'freenas.home', my workstation is pcbsd10.home; I expected that they should match, if 'nfsuserd' is used.
The structure of directories is /mnt/MEDIA/Movies, NFSv4 root is '/', 'Movies' is also shared as NFSv3.
If I mount 'Movies' as v3 then files have proper permission but if I mount '/mnt/MEDIA/Movies' as v4 the permissions are incorrect.
NFS has 'Enable NFSv4' and 'NFSv3 ownership...' checked. 'Movies' has 'Maproot user' set to root and 'All directories' checked.