Hi
I’m trying to setup a new NFSv4 server using ACLs, without centralized auth like kerberos.
When I try to copy some files, and maintain the ACLs, from client to the server I got an “Operation not supported” error.
Test on the client:
andrea@desktop:/mnt/andale.lcl/archive/data/test> getfacl /tmp/abc123
getfacl: Removing leading '/' from absolute path names
# file: tmp/abc123
# owner: andrea
# group: users
user::rw-**
user:andrea:rwx #effective:rw-
**group::rwx #effective:rw-
mask::rw-
other::---
andrea@desktop:/mnt/andale.lcl/archive/data/test> getfacl -n /tmp/abc123
getfacl: Removing leading '/' from absolute path names
# file: tmp/abc123
# owner: 1000
# group: 100
user::rw-
**user:1000:rwx #effective:rw-
** group::rwx #effective:rw-
mask::rw-
other::---
andrea@desktop:/mnt/andale.lcl/archive/data/test> cp -a /tmp/abc123 .
**cp: preservazione dei permessi per "./abc123": Operazione non supportata**
andrea@desktop:/mnt/andale.lcl/archive/data/test> getfacl ./abc123
# file: abc123
# owner: andrea
# group: users
user::rw-
group::rw-
other::---
andrea@desktop:/mnt/andale.lcl/archive/data/test> getfacl -n ./abc123
# file: abc123
# owner: 1000
# group: 100
user::rw-
group::rw-
other::---
Data disk on the server is Ext4, but also Btrfs doesn’t make any difference:
/dev/sda1 on /mnt/localhost/data type ext4 (rw,relatime,data=ordered)
And is exported in this way:
/mnt/localhost/ *(fsid=0,crossmnt,rw,no_root_squash,sync,no_subtree_check,acl,insecure)
This is the mount on the client:
archive.andale.lcl:/data on /mnt/andale.lcl/archive/data type nfs4 (rw,relatime,vers=4.0,rsize=131072,wsize=131072,namlen=255,soft,proto=tcp,port=0,timeo=50,retrans=1,sec=sys,clientaddr=192.168.0.1,local_lock=none,addr=x.x.x.x)
How can I solve?