Fink Oliver
2011-Sep-14 09:40 UTC
[Samba] copy acls with getfacl / setfalc - invalid argument ....
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" I use getfacl / setfacl Version 2.5.1 Thanks for your help in advance! Greetings Oliver
Fink Oliver
2011-Sep-14 13:28 UTC
[Samba] copy acls with getfacl / setfalc - invalid argument ....
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
Claus Rosenberger
2011-Sep-14 13:32 UTC
[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
Claus Rosenberger
2011-Sep-14 14:21 UTC
[Samba] copy acls with getfacl / setfalc - invalid argument ....
Hello Oliver, what's the content around line 756635? Am 14.09.2011 15:40:22, schrieb Fink Oliver:> 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>
Maybe Matching Threads
- moved DM config to new server : gids different etc
- User home drives on AD DC
- Asterisk voicemail problem with isdn avm fritz!card
- Gluster replicate 3 arbiter 1 in split brain. gluster cli seems unaware
- Gluster replicate 3 arbiter 1 in split brain. gluster cli seems unaware