mirror of
https://github.com/rclone/rclone.git
synced 2024-11-25 17:57:44 +08:00
01877e5a0f
Before this change, when a new object was created s3 returns its versionID (on a versioned bucket) and rclone recorded it in the object. This means that when rclone came to delete the object it would delete it with the versionID. However it is common to forbid actions with versionIDs on buckets so as to preserve the historical record and these operations would fail whereas they succeeded in pre-v1.60.0 versions. This patch fixes the problem by not recording versions of objects supplied by the S3 API on upload unless `--s3-versions` or `--s3-version-at` is used. This makes rclone behave as it did before v1.60.0 when version support was introduced. See: https://forum.rclone.org/t/s3-and-intermittent-403-errors-with-file-renames-and-drag-and-drop-operations-in-windows-explorer/34773 |
||
---|---|---|
.. | ||
gen_setfrom.go | ||
s3_internal_test.go | ||
s3_test.go | ||
s3.go | ||
setfrom.go | ||
v2sign.go |