On Feb 26, 2009, at 14:20, Tomas Ögren wrote:

Rsync supports POSIX Draft ACLs (UFS/NFSv3), but not ZFS ACLs.. However,
you can do a sneaky thing.. Mount your ZFS filesystem over NFSv4 from
yourself and rsync -A  from /ufsthingie/  to /nfs4mountedzfs/  .. that
will copy all ACLs..

On Feb 26, 2009, at 14:16, Blake wrote:

Ah - I think I was getting confused by my experience with the modified
rsync on OS X.

Just try to use rsync 3.x for best results. Any support for ACLs (and extend attributes) in 2.x is via third-party patches (e.g., like Apple). From the release notes:

- Added the --acls (-A) option to preserve Access Control Lists. This is an improved version of the prior patch that was available, and it even supports OS X ACLs. If you need to have backward compatibility with old, ACL-patched versions of rsync, apply the acls.diff file from the patches dir.

- Added the --xattrs (-X) option to preserve extended attributes. This is an improved version of the prior patch that was available, and it even supports OS X xattrs (which includes their resource fork data). If you need to have backward compatibility with old, xattr- patched versions of rsync, apply the xattrs.diff file from the patches dir.

http://samba.anu.edu.au/ftp/rsync/src/rsync-3.0.0-NEWS

_______________________________________________
zfs-discuss mailing list
zfs-discuss@opensolaris.org
http://mail.opensolaris.org/mailman/listinfo/zfs-discuss

Reply via email to