I have an problem with ACLs over NFS3. The Problem is, when i mount a nfsshare from an KVMguest, the UnixACLs were not mapped too. I don't know why. But this is only when i have the NFSshares on an virtulamachine. When i do the same with ein real machine, ACLs work well.
You can see that:
mount from physical machine:
touch data.txt
rwrw--+ data.txt
mount from virtual machine:
touch data.txt
rw-r-- data.txt
When a say "mount" on both. The ACL-flage is set. Strange, very strange.
I've tested this with Ubuntu 12.04 64bit and Gentoo 64bit.
I've testet this with anoter storageformat (qcow2, raw), with virtio, SATA.
I've testet the filesystems ext4 and jfs. Every time the same. I feel pretty helpless.
I finally have the problem solved. It was a missing header line like this:
/export *(acl,sync,no_subtree_check,fsid=0,rw)
Normaly this used only by nfs4, but nfs3 need the same for using acl's. And it has nothing to do with virtualization. On real hardware it worked because, the real hardware is managed with webmin. And webmin generated this line automaticly.