OpenVZ Forum


Home » General » Support » private on NFS and group privilege problem
private on NFS and group privilege problem [message #47703] Tue, 28 August 2012 19:59 Go to previous message
woima is currently offline  woima
Messages: 2
Registered: August 2012
Junior Member
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?

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

(user amavis is having group clamav and shuld have permissions to test folder)

client:
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)

EDIT: Problem occurs on host too when using NFS mount in it. So its not openvz bug. Rather, it is a bug in nfs or wrong mount options?

[Updated on: Wed, 29 August 2012 07:07]

Report message to a moderator

 
Read Message
Read Message
Previous Topic: OpenVZ/Centos Port FIltering (Host Node)
Next Topic: 2 GW, 2 Subnets, 1 NIC
Goto Forum:
  


Current Time: Sat Nov 09 10:50:31 GMT 2024

Total time taken to generate the page: 0.03133 seconds