[Samba] copy acls with getfacl / setfalc - invalid argument ....
Claus Rosenberger
claus.rosenberger at rocnet.de
Wed Sep 14 07:32:50 MDT 2011
Take a look into your backup file at this line, perhaps there is an issue with encoding of the filesystems. I.e. old server uses latin1, new one uses utf-8.
Am 14.09.2011 15:29:22, schrieb Fink Oliver:
> I hav a problem porting my ACLS from my old filserver to a new one...
>
>
>
>
>
>
My old Fileserver:
>
>
I have my shares on a partition supporting acls with ext3
>
>
/dev/md0 on /data/raid type ext3 (rw,acl,user_xattr)
>
>
>
>
>
>
My new Fileserver:
>
>
/dev/md0 on /data/raid type ext4 (rw,acl,user_xattr)
>
>
>
>
>
>
Now I copied all my shares to the new Fileserver with rsync and backed
>
up my acls with:
>
>
>
>
getfacl -R > acls-fileserver.facl
>
>
>
>
I copyied the file "acls-fileserver.facl" to the new one and tried to
>
restore
>
>
all the acls to the files and directories with:
>
>
>
>
setfacl -restore=acls-fileserver.facl
>
>
>
>
There I keep getting an error
>
>
"Invalid argument in line 75635"
>
>
Sometimes sonner sometimes later.
>
>
>
>
I also had: "Invalid argument in line 14"
>
>
>
>
It seems to be if there is a ":rwx" behind the user like the following
>
line:
>
>
"user:MYDOMAIN/some.user:rwx"
>
>
>
>
>
>
I use getfacl / setfacl Version 2.5.1
>
>
>
>
Thanks for your help in advance!
>
>
Greetings
>
>
Oliver
>
>
--
>
To unsubscribe from this list go to the following URL and read the
>
instructions: > https://lists.samba.org/mailman/options/samba
More information about the samba
mailing list