1
mirror of https://github.com/rclone/rclone synced 2024-11-26 04:07:22 +01:00
rclone/backend
Nick Craig-Wood 7d31956169 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:03 +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 rclone config redacted: implement support mechanism for showing redacted config 2023-07-07 16:25:14 +01:00
b2 rclone config redacted: implement support mechanism for showing redacted config 2023-07-07 16:25:14 +01:00
box rclone config redacted: implement support mechanism for showing redacted config 2023-07-07 16:25:14 +01:00
cache rclone config redacted: implement support mechanism for showing redacted config 2023-07-07 16:25:14 +01: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 rclone config redacted: implement support mechanism for showing redacted config 2023-07-07 16:25:14 +01:00
dropbox rclone config redacted: implement support mechanism for showing redacted config 2023-07-07 16:25:14 +01:00
fichier rclone config redacted: implement support mechanism for showing redacted config 2023-07-07 16:25:14 +01:00
filefabric rclone config redacted: implement support mechanism for showing redacted config 2023-07-07 16:25:14 +01:00
ftp rclone config redacted: implement support mechanism for showing redacted config 2023-07-07 16:25:14 +01:00
googlecloudstorage rclone config redacted: implement support mechanism for showing redacted config 2023-07-07 16:25:14 +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 rclone config redacted: implement support mechanism for showing redacted config 2023-07-07 16:25:14 +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 rclone config redacted: implement support mechanism for showing redacted config 2023-07-07 16:25:14 +01:00
jottacloud rclone config redacted: implement support mechanism for showing redacted config 2023-07-07 16:25:14 +01:00
koofr rclone config redacted: implement support mechanism for showing redacted config 2023-07-07 16:25:14 +01:00
local local: fix partial directory read for corrupted filesystem 2023-07-09 17:58:03 +01:00
mailru rclone config redacted: implement support mechanism for showing redacted config 2023-07-07 16:25:14 +01:00
mega rclone config redacted: implement support mechanism for showing redacted config 2023-07-07 16:25:14 +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 rclone config redacted: implement support mechanism for showing redacted config 2023-07-07 16:25:14 +01:00
opendrive rclone config redacted: implement support mechanism for showing redacted config 2023-07-07 16:25:14 +01:00
oracleobjectstorage rclone config redacted: implement support mechanism for showing redacted config 2023-07-07 16:25:14 +01:00
pcloud rclone config redacted: implement support mechanism for showing redacted config 2023-07-07 16:25:14 +01:00
pikpak rclone config redacted: implement support mechanism for showing redacted config 2023-07-07 16:25:14 +01:00
premiumizeme rclone config redacted: implement support mechanism for showing redacted config 2023-07-07 16:25:14 +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
s3 rclone config redacted: implement support mechanism for showing redacted config 2023-07-07 16:25:14 +01:00
seafile rclone config redacted: implement support mechanism for showing redacted config 2023-07-07 16:25:14 +01:00
sftp rclone config redacted: implement support mechanism for showing redacted config 2023-07-07 16:25:14 +01:00
sharefile rclone config redacted: implement support mechanism for showing redacted config 2023-07-07 16:25:14 +01:00
sia rclone config redacted: implement support mechanism for showing redacted config 2023-07-07 16:25:14 +01:00
smb smb: fix "Statfs failed: bucket or container name is needed" when mounting 2023-07-08 12:24:46 +01:00
storj rclone config redacted: implement support mechanism for showing redacted config 2023-07-07 16:25:14 +01:00
sugarsync rclone config redacted: implement support mechanism for showing redacted config 2023-07-07 16:25:14 +01:00
swift rclone config redacted: implement support mechanism for showing redacted config 2023-07-07 16:25:14 +01:00
union Revert "union: disable PartialUploads on integration tests failures" 2023-06-29 21:11:04 +01:00
uptobox rclone config redacted: implement support mechanism for showing redacted config 2023-07-07 16:25:14 +01:00
webdav rclone config redacted: implement support mechanism for showing redacted config 2023-07-07 16:25:14 +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