I have a public S3 Bucket, with the public policy set like this
{
"Version": "2012-10-17",
"Id": "Policy1563368389080",
"Statement": [
{
"Sid": "Stmt1563368385984",
"Effect": "Allow",
"Principal": {
"AWS": "*"
},
"Action": [
"s3:GetObject",
"s3:GetObjectVersion"
],
"Resource": [
"arn:aws:s3:::mybucketname/*",
"arn:aws:s3:::mybucketname"
]
}
]
}
However when i upload a new file it isn't public by default. Is there something wrong with my policy?
