On Thu, Jun 23, 2016 at 04:09:43PM -0700, Steven Levine wrote:> In <20160623205843.GB6633 at kw.merryville>, on 06/23/16 > at 11:58 PM, Albert Berger <nbdspcl at gmail.com> said: > > Hi, > > >I did some search about this error before asking this question, and in > >other case unsupported ACLs were indeed the cause. But btrfs supports > >ACLs: > > In addition to what Kevin said, if you are rsync-ing to a SAMBA share, you > will be limited to what the SAMBA server supports and not all are > configured to enable ACL support.The 'backup' Samba share on the destination machine is configured with inherit acls = yes inherit permissions = yes> > >[root at kw al]# getfacl /mnt/backup/rootdir/var/log/journal/remote getfacl: > > This implies that the ACLs can be read, but it says nothing about whether > the local system has the rights to delete the default ACLs from > var/log/journal/remote. You need to test this with something like > > setfacl --remove-default \ > /mnt/backup/rootdir/var/log/journal/remoteExecuting this command didn't return any messages : [root at kw al]# setfacl --remove-default /mnt/backup/rootdir/var/log/journal/remote [root at kw al]# echo $? 0 I executed this on both source and destination, but the same "Unsupported operation" error persists. Albert.> > Steven > > -- > ---------------------------------------------------------------------- > "Steven Levine" <steve53 at earthlink.net> Warp/DIY/BlueLion etc. > www.scoug.com www.arcanoae.com www.warpcave.com > ---------------------------------------------------------------------- > > > -- > Please use reply-all for most replies to avoid omitting the mailing list. > To unsubscribe or change options: https://lists.samba.org/mailman/listinfo/rsync > Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html
>> In addition to what Kevin said, if you are rsync-ing to a SAMBA share, you >> will be limited to what the SAMBA server supports and not all are >> configured to enable ACL support. > >The 'backup' Samba share on the destination machine is configured with > >inherit acls = yes >inherit permissions = yesWhy don't you start a rsync daemon on the destination and connect with the rsync protocol? This circumvents Samba limitations and also gives you the differential transfer algorithm. It's probably also faster because only the necessary data has to be sent over the line. bye Fabi
On Fri, Jun 24, 2016 at 10:23:01AM +0200, Fabian Cenedese wrote:> > >> In addition to what Kevin said, if you are rsync-ing to a SAMBA share, you > >> will be limited to what the SAMBA server supports and not all are > >> configured to enable ACL support. > > > >The 'backup' Samba share on the destination machine is configured with > > > >inherit acls = yes > >inherit permissions = yes > > Why don't you start a rsync daemon on the destination and connect with > the rsync protocol? This circumvents Samba limitations and also gives > you the differential transfer algorithm. It's probably also faster because > only the necessary data has to be sent over the line. >Sorry, what are the Samba limitations regarding ACLs in this case? The error is definitly caused by Samba's not properly handling ACLs? If so, then it seems reasonable to use rsync on the destination side. But otherwise, I would prefer to go by without rsync on destination in order to have the possibility to change the destination to machines where rsync is not running without much reconfiguring. Albert.> bye Fabi > > > -- > Please use reply-all for most replies to avoid omitting the mailing list. > To unsubscribe or change options: https://lists.samba.org/mailman/listinfo/rsync > Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html