mirror of
https://github.com/rclone/rclone.git
synced 2025-02-14 21:23:01 +02:00
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
@ -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…
x
Reference in New Issue
Block a user