Skip to content

"rsync for cloud storage" - Google Drive, S3, Dropbox, Backblaze B2, One Drive, Swift, Hubic, Wasabi, Google Cloud Storage, Azure Blob, Azure Files, Yandex Files

chunker: disable ListR to fix missing files on GDrive (workaround #3972)

Ivan Andreev004c3796de83
diff --git a/backend/chunker/chunker.go b/backend/chunker/chunker.go
index a8ee098f3..a714b4843 100644
--- a/backend/chunker/chunker.go
+++ b/backend/chunker/chunker.go
@@ -296,6 +296,8 @@ func NewFs(name, rpath string, m configmap.Mapper) (fs.Fs, error) {
ServerSideAcrossConfigs: true,
}).Fill(f).Mask(baseFs).WrapsFs(f, baseFs)
+ f.features.Disable("ListR") // Recursive listing may cause chunker skip files
+
return f, err
}