rclone/backend
nielash 252562d00a combine: fix CopyDirMetadata error on upstream root
Before this change, operations.CopyDirMetadata would fail with: `internal error:
expecting directory string from combine root '' to have SetMetadata method:
optional feature not implemented` if the dst was the root directory of a combine
upstream. This is because combine was returning a *fs.Dir, which does not
satisfy the fs.SetMetadataer interface.

While it is true that combine cannot set metadata on the root of an upstream
(see also #7652), this should not be considered an error that causes sync to do
high-level retries, abort without doing deletes, etc.

This change addresses the issue by creating a new type of DirWrapper that is
allowed to fail silently, for exceptional cases such as this where certain
special directories have more limited abilities than what the Fs usually
supports.

It is possible that other similar wrapping backends (Union?) may need this same
fix.
2024-03-07 11:09:07 +00:00
..
alias local: implement modtime and metadata for directories 2024-02-28 16:09:04 +00:00
all amazonclouddrive: remove Amazon Drive backend code and docs #7539 2024-01-04 17:05:54 +00:00
azureblob azureblob: fix data corruption bug #7590 2024-01-24 11:28:05 +00:00
azurefiles azure-files: fix storage base url 2023-12-18 14:15:13 +00:00
b2 b2: clarify exactly what --b2-download-auth-duration does in the docs 2024-02-08 09:39:53 +00:00
box backend: fs implements the Shutdowner interface 2023-12-09 11:44:50 +00:00
cache cache: fix crash in tests which assumed local could Purge 2024-02-29 17:55:36 +00:00
chunker cache,chunker,combine,compress,crypt,hasher,union: implement MkdirMetadata and related Features 2024-02-28 16:09:04 +00:00
combine combine: fix CopyDirMetadata error on upstream root 2024-03-07 11:09:07 +00:00
compress cache,chunker,combine,compress,crypt,hasher,union: implement MkdirMetadata and related Features 2024-02-28 16:09:04 +00:00
crypt crypt: add missing error check spotted by linter 2024-02-29 14:46:50 +00:00
drive drive: implement modtime and metadata setting for directories 2024-02-28 16:26:14 +00:00
dropbox backend: rename variables to fix CI lint test failures 2024-02-12 12:49:00 -05:00
fichier fichier: fix error code parsing 2023-08-11 00:47:01 +09:00
filefabric filefabric: use atomic types 2023-08-22 12:52:13 +01:00
ftp ftp: fix mkdir with rsftp which is returning the wrong code 2024-02-07 22:09:56 +00:00
googlecloudstorage gcs: fix 400 Bad request errors when using multi-thread copy 2023-11-20 18:07:05 +00:00
googlephotos backend: rename variables to fix CI lint test failures 2024-02-12 12:49:00 -05:00
hasher cache,chunker,combine,compress,crypt,hasher,union: implement MkdirMetadata and related Features 2024-02-28 16:09:04 +00:00
hdfs hdfs: added support for list of namenodes in hdfs remote config 2023-11-13 15:55:52 +00:00
hidrive backend: fs implements the Shutdowner interface 2023-12-09 11:44:50 +00:00
http http: implement set backend command to update running backend 2023-11-20 18:07:05 +00:00
imagekit imagekit: Added ImageKit backend 2023-11-24 18:18:01 +00:00
internetarchive fs: implement --metadata-mapper to transform metatadata with a user supplied program 2023-11-18 17:49:35 +00:00
jottacloud backend: fs implements the Shutdowner interface 2023-12-09 11:44:50 +00:00
koofr rclone config redacted: implement support mechanism for showing redacted config 2023-07-07 16:25:14 +01:00
linkbox linkbox: pre-merge fixes 2023-11-18 17:14:45 +00:00
local local: delete backend implementation of Purge to speed up and make stats 2024-02-29 15:04:51 +00:00
mailru rclone config redacted: implement support mechanism for showing redacted config 2023-07-07 16:25:14 +01:00
mega docs: fix typos found by codespell in docs and code comments 2023-09-23 12:20:01 +01:00
memory Replace deprecated ioutil 2022-11-07 11:41:47 +00:00
netstorage rclone config redacted: implement support mechanism for showing redacted config 2023-07-07 16:25:14 +01:00
onedrive onedrive: fix "unauthenticated: Unauthenticated" errors when uploading 2024-01-07 11:14:08 +00:00
opendrive opendrive: fix moving file/folder within the same parent dir - #7591 2024-02-21 18:02:19 +00:00
oracleobjectstorage oracleobjectstorage: supports workload identity authentication for OKE 2024-02-20 16:25:59 +00:00
pcloud backend: fs implements the Shutdowner interface 2023-12-09 11:44:50 +00:00
pikpak backend: rename variables to fix CI lint test failures 2024-02-12 12:49:00 -05:00
premiumizeme backend: fs implements the Shutdowner interface 2023-12-09 11:44:50 +00:00
protondrive protondrive: make cached keys rclone style and not show with rclone config redacted 2023-09-11 15:57:08 +01:00
putio rclone config redacted: implement support mechanism for showing redacted config 2023-07-07 16:25:14 +01:00
qingstor rclone config redacted: implement support mechanism for showing redacted config 2023-07-07 16:25:14 +01:00
quatrix quatrix: add option to skip project folders 2024-02-18 07:38:19 +01:00
s3 s3: GCS provider: fix server side copy of files bigger than 5G 2024-02-08 14:53:30 +00:00
seafile Seafile: Fix download/upload error when FILE_SERVER_ROOT is relative 2024-02-05 11:48:51 +00:00
sftp sftp: set DirModTimeUpdatesOnWrite to fix integration tests 2024-03-01 11:29:08 +00:00
sharefile backend: fs implements the Shutdowner interface 2023-12-09 11:44:50 +00:00
sia rclone config redacted: implement support mechanism for showing redacted config 2023-07-07 16:25:14 +01:00
smb smb: fix shares not listed by updating go-smb2 2023-11-29 15:39:27 +00:00
storj storj: update storj.io/uplink to v1.12.0 2023-09-14 14:01:35 +01:00
sugarsync rclone config redacted: implement support mechanism for showing redacted config 2023-07-07 16:25:14 +01:00
swift swift: Avoid unnecessary container versioning check 2024-02-20 15:52:25 +00:00
union cache,chunker,combine,compress,crypt,hasher,union: implement MkdirMetadata and related Features 2024-02-28 16:09:04 +00:00
uptobox rclone config redacted: implement support mechanism for showing redacted config 2023-07-07 16:25:14 +01:00
webdav webdav: reduce priority of chunks upload log 2024-02-18 07:29:23 +01:00
yandex yandex: fix 400 Bad Request on transfer failure 2023-06-11 11:11:43 +01:00
zoho zoho: remove Range requests workarounds to fix integration tests 2023-09-05 18:21:15 +01:00