Details
-
New Feature
-
Status: Resolved
-
Minor
-
Resolution: Fixed
-
None
Description
Is there a way to set specific ACL args to the new written files via the S3FileSystem? We have a situation where the writer/read role groups do not have access unless specified during the write process.
Example of how we update with `s3fs`:
s3fs.S3FileSystem( s3_additional_kwargs={'ACL': 'bucket-owner-full-control'} )
or with `boto`:
extra_args.update(\{"ACL": "bucket-owner-full-control"}) boto3.s3.transfer.S3Transfer(...).upload_file(extra_args=extra_args)
or
s3.Object(my_bucket_name, my_key_path).put(Body=my_body, ACL='bucket-owner-full-control')
Attachments
Issue Links
- links to