Have admin rights but getting Access Denied for s3 objects

If you are getting s3 object access denial though you have administrator access, the possible reason is that objects in your account doesn’t have –acl bucket-owner-full-control this permission setup.
examples:-

aws s3 cp s3://mybucket/test.txt s3://mybucket/test2.txt --acl bucket-owner-full-control

 

2 thoughts on “Have admin rights but getting Access Denied for s3 objects

  • December 15, 2018 at 5:48 pm
    Permalink

    This is a good article. I missed the same and took me really long figuring out this.

    Thanks,
    Ross

    Reply
  • December 22, 2018 at 11:30 pm
    Permalink

    Interesting article! like it

    Reply

Leave a Reply

Your email address will not be published. Required fields are marked *