Does rsync support acl and xattr (as with acl and user_xattr mount options)? I saw some acl patches for rsync, so probably it's not officially blessed yet. However, I didn't see any xattr patches - although some talks about it on the list go back into year 2003. So how it is with support for these? If I backup a Samba server, which has a filesystem mounted with acl,user_xattr (with the newset version of rsync), to another server, also with acl,user_xattr filesystem - will I loose acl and xattr attributes? -- Tomasz Chmielewski Software deployment with Samba http://wpkg.org
On Thu, 2006-02-09 at 21:30 +0100, Tomasz Chmielewski wrote:> Does rsync support acl and xattr (as with acl and user_xattr mount options)? > > I saw some acl patches for rsync, so probably it's not officially > blessed yet. > > However, I didn't see any xattr patches - although some talks about it > on the list go back into year 2003.rsync includes ACL and xattr patches that you can apply if you wish; then you use -A, --acls and/or -X, --xattrs to preserve ACLs and/or xattrs during a transfer. I've been using an ACL-patched rsync to backup my system for a while now, and it correctly transfers my POSIX ACLs; I don't use xattrs. -- Matt McCutchen hashproduct@verizon.net http://mysite.verizon.net/hashproduct/