[Samba] copy acls with getfacl / setfalc - invalid argument ....
Fink Oliver
oliver.fink at ak-vorarlberg.at
Wed Sep 14 07:39:41 MDT 2011
Hello Claus,
No I don't think so:
My old fileserver:
fileserver /etc/samba/private > locale
LANG=en_US.ISO8859-1
LC_CTYPE="en_US.ISO8859-1"
LC_NUMERIC="en_US.ISO8859-1"
LC_TIME="en_US.ISO8859-1"
LC_COLLATE=C
LC_MONETARY="en_US.ISO8859-1"
LC_MESSAGES="en_US.ISO8859-1"
LC_PAPER="en_US.ISO8859-1"
LC_NAME="en_US.ISO8859-1"
LC_ADDRESS="en_US.ISO8859-1"
LC_TELEPHONE="en_US.ISO8859-1"
LC_MEASUREMENT="en_US.ISO8859-1"
LC_IDENTIFICATION="en_US.ISO8859-1"
LC_ALL=
My new fileserver:
fileneu /data/raid/fileserver > locale
LANG=en_US.ISO8859-1
LC_CTYPE="en_US.ISO8859-1"
LC_NUMERIC="en_US.ISO8859-1"
LC_TIME="en_US.ISO8859-1"
LC_COLLATE=C
LC_MONETARY="en_US.ISO8859-1"
LC_MESSAGES="en_US.ISO8859-1"
LC_PAPER="en_US.ISO8859-1"
LC_NAME="en_US.ISO8859-1"
LC_ADDRESS="en_US.ISO8859-1"
LC_TELEPHONE="en_US.ISO8859-1"
LC_MEASUREMENT="en_US.ISO8859-1"
LC_IDENTIFICATION="en_US.ISO8859-1"
LC_ALL=
What else could that be?
Thanks in advance!
Olli
-----Ursprüngliche Nachricht-----
Von: samba-bounces at lists.samba.org [mailto:samba-bounces at lists.samba.org] Im Auftrag von Claus Rosenberger
Gesendet: Mittwoch, 14. September 2011 15:33
An: samba at lists.samba.org
Betreff: Re: [Samba] copy acls with getfacl / setfalc - invalid argument ....
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
--
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