mirror of
https://github.com/rclone/rclone.git
synced 2026-01-06 10:33:34 +00:00
fs: Add CanHaveEmptyDirectories and BucketBased feature flags to all remotes
This commit is contained in:
@@ -317,7 +317,11 @@ func NewFs(name, root string) (fs.Fs, error) {
|
||||
location: fs.ConfigFileGet(name, "location"),
|
||||
storageClass: fs.ConfigFileGet(name, "storage_class"),
|
||||
}
|
||||
f.features = (&fs.Features{ReadMimeType: true, WriteMimeType: true}).Fill(f)
|
||||
f.features = (&fs.Features{
|
||||
ReadMimeType: true,
|
||||
WriteMimeType: true,
|
||||
BucketBased: true,
|
||||
}).Fill(f)
|
||||
if f.objectACL == "" {
|
||||
f.objectACL = "private"
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user