Home > front end >  How to make object permissions public when adding them to S3 bucket using boto3 in python
How to make object permissions public when adding them to S3 bucket using boto3 in python

Time:03-08

Managed to make my S3 bucket public but when trying to make the files inside the bucket go public it isn't working.

response = s3.Object(bucket_name, "local-filename.jpg").put(Body=open, ACL='public- 
read'("local-filename.jpg", 'rb'))

CodePudding user response:

s3.upload_file(Filename=           
  • Related