Nicola,

Unfortunately acls aren't supported by rsync_bpc if the BackupPC server
doesn't support them (this can be fixed, since local acls aren't actually
used to store the acls, but it will take some effort).

I just discovered on my Ubuntu 16.04 server, rsync_bpc (and also rsync)
don't detect that acls are supported when you build them from source, which
is wrong.  I found out that you have to install a dev acl library first:

sudo apt install libacl1-dev

If you then re-configure and re-build rsync_bpc, using the --acls option
should now work.

You can check whether acl support is enabled with: rsync_bpc --version.
Example:

shell$ ./rsync_bpc --version
rsync_bpc  version 3.0.9.6  protocol version 30
Copyright (C) 1996-2011 by Andrew Tridgell, Wayne Davison, and others.
Web site: http://rsync.samba.org/
Capabilities:
    64-bit files, 64-bit inums, 64-bit timestamps, 64-bit long ints,
    socketpairs, hardlinks, symlinks, IPv6, batchfiles, inplace,
    append, ACLs, xattrs, iconv, symtimes


You'll see "no ACLs" instead of "ACLs" (highlighted in yellow) if there is
no support.

So, note to rsync_bpc package builders - please make sure you build the
code with the right acl libraries.

Craig

On Tue, Apr 18, 2017 at 11:33 PM, Nicola Ferrari (#554252) <
nick-li...@posteo.eu> wrote:

> Il 18/04/2017 13:25, Bob of Donelson Trophy ha scritto:
> > Been following your thread as I have a keen interest in backing up ACL
> > and xattr.
> >
> > Perhaps I missed something . . . what is being said here is that with
> > version31 ACL and xattr are on by defaults? Or, do they (ACL and xattr)
> > still need to be added via 'RsyncArgsExtra'?
> >
> > --
>
> Hi Bob,
>
> AFAIK they are _supported_ by the rsync client, but you still need to
> add them to the RsyncArgsExtra variable in your host config.
> (If you feel, you could also add them to the server's global config)..
>
> Cheers,
> N
>
>
> --
> +---------------------+
> | Linux User  #554252 |
> +---------------------+
>
>
> ------------------------------------------------------------
> ------------------
> Check out the vibrant tech community on one of the world's most
> engaging tech sites, Slashdot.org! http://sdm.link/slashdot
> _______________________________________________
> BackupPC-users mailing list
> BackupPC-users@lists.sourceforge.net
> List:    https://lists.sourceforge.net/lists/listinfo/backuppc-users
> Wiki:    http://backuppc.wiki.sourceforge.net
> Project: http://backuppc.sourceforge.net/
>
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
BackupPC-users mailing list
BackupPC-users@lists.sourceforge.net
List:    https://lists.sourceforge.net/lists/listinfo/backuppc-users
Wiki:    http://backuppc.wiki.sourceforge.net
Project: http://backuppc.sourceforge.net/

Reply via email to