Bug 9987 - wishlist: add flag(s) to preserve *destination* metadata (i.e. owner, group)
wishlist: add flag(s) to preserve *destination* metadata (i.e. owner, group)
Status: NEW
Product: rsync
Classification: Unclassified
Component: core
3.1.0
All All
: P5 enhancement
: ---
Assigned To: Wayne Davison
Rsync QA Contact
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2013-07-01 21:43 UTC by Chris Hiestand
Modified: 2013-07-01 21:43 UTC (History)
0 users

See Also:


Attachments

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.