lib/dockly/s3_writer.rb in dockly-3.2.0.pre.1 vs lib/dockly/s3_writer.rb in dockly-3.3.0
- old
+ new
@@ -70,10 +70,13 @@
abort_upload unless @closed
@closed = true
end
def multipart_upload
- @multipart_upload ||=
- connection.create_multipart_upload(bucket: s3_bucket, key: s3_object)
+ @multipart_upload ||= connection.create_multipart_upload(
+ bucket: s3_bucket,
+ key: s3_object,
+ acl: 'bucket-owner-full-control',
+ )
end
end
end