rclone/backend
Nick Craig-Wood 07d85297c0 local: fix partial directory read for corrupted filesystem
Before this change if a directory entry could be listed but not
lstat-ed then rclone would give an error and abort the directory
listing with the error

    failed to read directory entry: failed to read directory "XXX": lstat XXX

This change makes sure that the directory listing carries on even
after this kind of error.

The sync will be failed but it will carry on.

This problem was caused by a programming error setting the err
variable in an outer scope when it should have been using a local err
variable.

See: https://forum.rclone.org/t/sync-aborts-if-even-one-single-unreadable-folder-is-encountered/39653
2023-07-09 17:58:51 +01:00
..
alias build: add package comments to silence revive linter 2022-08-28 13:43:51 +02:00
all pikpak: new backend 2023-04-04 16:33:48 +01:00
amazonclouddrive build: reformat comments to pass go1.19 vet 2022-08-05 16:35:41 +01:00
azureblob azureblob: fix "Entry doesn't belong in directory" errors when using directory markers 2023-06-23 18:01:11 +01:00
b2 accounting: Make checkers show what they are doing 2023-03-01 11:10:38 +00:00
box Use jwt-go (golang-jwt) instead of deprecated jws (x/oauth2/jws) 2023-03-26 19:20:50 +02:00
cache cache: remove unused code (fixes issue reported by the unused linter) 2023-03-26 14:28:15 +02:00
chunker rcat: preserve metadata when Copy falls back to Rcat 2022-11-10 12:04:35 +00:00
combine backend: fix misspellings found by codespell 2023-06-26 14:34:52 +01:00
compress combine,compress,crypt,hasher,union: support wrapping backends with PartialUploads 2023-06-14 10:52:03 +01:00
crypt backend: fix misspellings found by codespell 2023-06-26 14:34:52 +01:00
drive docs: clarify --server-side-across-configs 2023-06-13 17:58:27 +01:00
dropbox dropbox: fix result chans not taken care by defer fun 2023-06-28 19:49:38 +01:00
fichier fichier: add cdn option to use CDN for download - Fixes #6943 2023-04-18 17:35:21 +01:00
filefabric Replace deprecated ioutil 2022-11-07 11:41:47 +00:00
ftp ftp: Fix "501 Not a valid pathname." errors when creating directories 2023-05-09 17:27:35 +01:00
googlecloudstorage gcs: fix "Entry doesn't belong in directory" errors when using directory markers 2023-06-23 18:01:11 +01:00
googlephotos fs: move operations.NewOverrideRemote to fs.NewOverrideRemote 2022-11-21 08:02:09 +00:00
hasher combine,compress,crypt,hasher,union: support wrapping backends with PartialUploads 2023-06-14 10:52:03 +01:00
hdfs backend: fix repeated words typos 2023-03-25 09:31:36 +01:00
hidrive hidrive: remove unused code (fixes issue reported by the unused linter) 2023-03-26 14:28:15 +02:00
http http: ensure folders show the modtime configured by --default-time #6986 2023-05-04 15:03:11 +01:00
internetarchive all: fix spelling across the project 2022-08-30 11:16:26 +02:00
jottacloud backend: fix typos found by codespell 2023-03-24 11:34:14 +00:00
koofr koofr: ensure folders show the modtime configured by --default-time #6986 2023-05-04 15:03:11 +01:00
local local: fix partial directory read for corrupted filesystem 2023-07-09 17:58:51 +01:00
mailru mailru: allow timestamps to be before the epoch 1970-01-01 2022-11-10 11:27:01 +00:00
mega backend: fix typos found by codespell 2023-03-24 20:42:45 +00:00
memory Replace deprecated ioutil 2022-11-07 11:41:47 +00:00
netstorage netstorage: ignore false positive from the staticcheck linter regarding header name not being canonical 2023-03-26 14:28:15 +02:00
onedrive docs: clarify --server-side-across-configs 2023-06-13 17:58:27 +01:00
opendrive build: add package comments to silence revive linter 2022-08-28 13:43:51 +02:00
oracleobjectstorage oracleobjectstorage: remove empty branch (fixes issue reported by the staticcheck linter) 2023-03-26 14:28:15 +02:00
pcloud all: fix spelling across the project 2022-08-30 11:16:26 +02:00
pikpak pikpak: add validity check when using a media link 2023-05-13 03:41:59 +09:00
premiumizeme build: reformat comments to pass go1.19 vet 2022-08-05 16:35:41 +01:00
putio putio: fix server side copy failures (400 errors) 2023-06-28 16:45:35 +01:00
qingstor build: add package comments to silence revive linter 2022-08-28 13:43:51 +02:00
s3 s3: add Qiniu KODO quirks virtualHostStyle is false 2023-06-26 17:47:27 +01:00
seafile seafile: remove unused code for legacy API v2 (fixes issue reported by the unused linter) 2023-03-26 14:28:15 +02:00
sftp sftp: don't check remote points to a file if it ends with / 2023-05-11 07:58:20 +01:00
sharefile sharefile: disable streamed transfers as they no longer work 2023-06-27 17:08:37 +01:00
sia build: add package comments to silence revive linter 2022-08-28 13:43:51 +02:00
smb smb: fix "Statfs failed: bucket or container name is needed" when mounting 2023-07-08 12:25:01 +01:00
storj storj: fix uploading to the wrong object on Update with overriden remote name 2023-06-27 16:02:33 +01:00
sugarsync Replace deprecated ioutil 2022-11-07 11:41:47 +00:00
swift swift: fix code formatting 2023-06-26 20:23:28 +01:00
union Revert "union: disable PartialUploads on integration tests failures" 2023-06-29 21:11:04 +01:00
uptobox uptobox: fix rmdir declaring that directories weren't empty 2023-06-28 17:27:43 +01:00
webdav webdav: nextcloud: fix must use /dav/files/USER endpoint not /webdav error 2023-07-06 10:47:19 +01:00
yandex yandex: fix 400 Bad Request on transfer failure 2023-06-11 11:11:43 +01:00
zoho zoho: fix downloads with Range: header returning the wrong data 2023-06-14 17:43:26 +01:00