containers on NFS and supplementary group problem

woima

Renowned Member
May 3, 2012
18
2
68
When running containers on NFS share user permissions wont work as it shuld. Users sub groups dont have any effect when chechking permissions. Dont know is this nfs client or server issue? Google does not help me with this one at all.

On container there is file:
drwxrwx--- 2 clamav clamav 4096 2012-08-27 15:19 test

$ whoami
amavis
$ groups
amavis clamav
$ ls -la test
ls: cannot open directory test: Permission denied

client:
running kernel: 2.6.32-12-pve
10.10.10.10:/containers on /mnt/pve/nfs-server type nfs (rw,vers=3,hard,addr=10.10.10.10)

nfs-server:
Linux nfs-server 3.2.0-23-generic #36-Ubuntu
/containers 10.10.0.0/16(rw,no_subtree_check,sync,no_root_squash)