Hi. Thanks for a great program! Could you please add a switch to preserve user and group ownership on the receiver? I only want the content copied across (and not in-place either, the file is in use). Best, Aleksey
Specify --owner (and possibly --group, or just use --archive). Just make sure the receiver is authorized to set ownership (you can use --super to force it to try).
I think the request is for recreated destination files to keep the same ownership they had, rather than taking the default ownership of the receiver, when --owner and --group are off. (Of course, this will only work for the receiving rsync's groups when --super mode is off.)
I'm merging this with bug 3829, which described the analogous issue with ACLs and xattrs. *** This bug has been marked as a duplicate of bug 3829 ***