s3: stop setting object and bucket ACL to "private" if it is an empty string #5730
This commit is contained in:
parent
3292c112c5
commit
c7c9356af5
1 changed files with 0 additions and 3 deletions
|
@ -2801,9 +2801,6 @@ func NewFs(ctx context.Context, name, root string, m configmap.Mapper) (fs.Fs, e
|
|||
if opt.Versions && opt.VersionAt.IsSet() {
|
||||
return nil, errors.New("s3: cant use --s3-versions and --s3-version-at at the same time")
|
||||
}
|
||||
if opt.ACL == "" {
|
||||
opt.ACL = "private"
|
||||
}
|
||||
if opt.BucketACL == "" {
|
||||
opt.BucketACL = opt.ACL
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue