Recently I fell into the trap of S3 object ACL’s and the issue of an object having a different owner to the bucket. So when I tried to do something simple like the following I got a forbidden error.
aws s3 cp s3://mybucket-name-unique/foo.txt /tmp
A client error (403) occurred when calling the HeadObject operation: Forbidden
Completed 1 part(s) with ... file(s) remaining
This stumped me for a while as I couldn’t understand why an admin user connecting […]