mirror of
https://github.com/rclone/rclone.git
synced 2026-10-09 22:45:26 -04:00
operations: stop --copy-dest replacing files with --immutable
When the source matched a file in --copy-dest, copyDest server-side copied it over an existing destination which differed, so sync, copy and copyto with --copy-dest could modify a file --immutable should have protected. Leave such a destination for the caller, which rejects it with ErrorImmutableModified as for any other modified file.
This commit is contained in:
500 Internal Server Error
Gitea Version: 1.28.0+dev-477-g8b6ad49a5f