Bug 9987 - wishlist: add flag(s) to preserve *destination* metadata (i.e. owner, group)
Summary: wishlist: add flag(s) to preserve *destination* metadata (i.e. owner, group)
Status: NEW
Alias: None
Product: rsync
Classification: Unclassified
Component: core (show other bugs)
Version: 3.1.0
Hardware: All All
: P5 enhancement (vote)
Target Milestone: ---
Assignee: Wayne Davison
QA Contact: Rsync QA Contact
Depends on:
Reported: 2013-07-01 21:43 UTC by Chris Hiestand
Modified: 2013-07-01 21:43 UTC (History)
0 users

See Also:


Note You need to log in before you can comment on or make changes to this bug.
Description Chris Hiestand 2013-07-01 21:43:43 UTC
In some cases you want to preserve the destination metadata, not the source metadata. For example, when updating an SSL certificate and key - they will often have special ownership to limit access (the key in particular). Rsync cannot be currently used without the user manually re-setting ownership.

If the destination file did not exist then rsync would fallback to its normal way to set metadata.

Apologies if this is already possible, I have not found a way to do this.