Try my experimental rsync with xattr support

Stephen Smalley sds at epoch.ncsc.mil
Thu Oct 14 15:50:57 UTC 2004


On Thu, 2004-10-14 at 11:36, Jay Fenlason wrote:
> I've written a patch to rsync that adds support for transferring posix
> extended attributes.  I've put the srpm and an i386 binary rpm at
> http://people.redhat.com/fenlason/rsync/rsync-2.6.3-2.{src,i386}.rpm
> These rpms also contain the acl patch.
> 
> To enable the transfer of extended attributes you need to use the new
> -X option.  Naturally, both the client and server rsyncs must include
> the extended attribute patch if you use -X.
> 
> Please try this rpm out, and report whether it works or not.  After I
> get some feedback I'll be sending the patch (or its successor) to the
> upstream rsync maintainer.

Nice, thanks.  Trivial test of rsync -aX -e ssh /etc host:/tmp correctly
reproduced the SELinux attributes on the /tmp/etc tree on the target
host.

-- 
Stephen Smalley <sds at epoch.ncsc.mil>
National Security Agency




More information about the fedora-selinux-list mailing list