Access denied when put bucket policy on aws s3 bucket with root user (= bucket owner)

Tijl .Reynhout

I have an AWS root user which I used to create a S3 bucket on Amazon.
Now I want to make this bucket public by adding following policy:

{
   "Version": "2012-10-17",
   "Statement": [{
      "Effect": "Allow",
      "Principal": "*",
      "Action": "s3:GetObject",
      "Resource": "arn:aws:s3:::<my bucket name>/*"
   }]
}

Where is my name of the bucket?
When I trying to save this policy I get a 403 access denied..

I tried explicitly setting the putbucketpolicy permission but it still gives a 403.
Any body that knows why?

This is the image error:

image of the aws error message

Huu Phong Nguyen

Capture on my AWS S3

Uncheck 2 rows for fixing the access denied. But please remember reading it clearly and consider it before you create a new bucket. Permission is really important.

Collected from the Internet

Please contact [email protected] to delete if infringement.

edited at
0

Comments

0 comments
Login to comment

Related

Access denied on AWS s3 bucket even with bucket and/or user policy

AWS S3 Bucket policy editor access denied

AWS - S3 - Creating a Bucket Policy - Error: Access Denied

How to grant access only to the Root Account User for an S3 bucket with IAM Policy AWS?

Access Denied when creating S3 Bucket ACL & S3 Policy using Terraform

S3 Bucket Policy to allow S3 Access to Current Authenicated user in AWS Console?

Access is denied even if IAM user is specified in S3 bucket policy

AWS Bucket Policy - limit access to a bucket with bucket policy

Amazon s3 bucket policy access denied when hosting static webpage

access denied when I attempt to upload to s3 with a signed post could it be the bucket policy?

Root user is denied downloading from s3 bucket

AWS S3: user policy for specifc bucket

AWS S3 Bucket policy Access Denyed

AWS CloudFront access denied to S3 bucket

AWS S3 Bucket - Access Denied on Sub-Pages

Rails AssetSync and AWS s3 Bucket Access Denied

S3 bucket access restriction with bucket policy

Getting Access Denied when trying to upload to s3 Bucket

why user can't access our S3 bucket even after I granted in the bucket policy?

AWS S3 bucket policy with condition

AWS S3 Bucket Policy is not valid

AWS S3 Bucket Policy Whitelist

AWS S3 empty bucket policy

Access Denied when trying to download a picture from the aws s3 bucket

AWS access to S3 bucket's folder for user groups

s3 Bucket Policies Access Denied

Not Able to Access AWS S3 bucket using AssumeRole by User

AWS bucket policy- permission denied

AWS S3 Bucket Access when connecting to Lumen