• Chris

    (@chrisanubhav)


    I am using the plugin, with access keys. I can access the Amazon S3 bucket with the access key using some desktop tools like Cyberduck.
    But for the same bucket I am getting following error in the plugin.
    Access Denied to Bucket — Looks like we don’t have write access to this bucket. It’s likely that the user you’ve provided access keys for hasn’t been granted the correct permissions. Please see our Quick Start Guide for instructions on setting up permissions correctly.
    Please tell me how can I access the bucket.

Viewing 9 replies - 1 through 9 (of 9 total)
  • Plugin Contributor ianmjones

    (@ianmjones)

    IAM User policy?

    Bucket policy?

    Have accidentally enabled the “Public access settings”?

    Thread Starter Chris

    (@chrisanubhav)

    Following are the answers :

    IAM user policy?
    We have created a IAM policy and give permission to the IAM user.

    Bucket policy?
    We have added the IAM user into s3 bucket policy.

    Public access setting?
    No

    Hi @chrisanubhav

    Did you solve this problem? We’ve got the same, and we are able to upload to the bucket using the same credentials in AWS cli.

    Same issue for me. Used the same policies with success in the past however I am now receiving the error.

    i have this exact same problem

    Have you set strict public restrictions on the bucket (new S3 setting for buckets)? I had similar results as you, and then dropped the restrictions. I didn’t make the bucket public, but now it is listed as ‘Objects can be public’.

    Hope this helps!

    Plugin Contributor ianmjones

    (@ianmjones)

    We see this problem with buckets created through the AWS Console rather than WP Offload Media itself.

    AWS have recently introduced “Public access settings” for objects in the bucket, which stops permissions on objects from being changed if the settings are turned on. WP Offload Media needs to be able to change the permissions on objects (not buckets), so “Public access settings” needs to be disabled.

    https://deliciousbrains.com/wp-offload-media/doc/amazon-s3-quick-start-guide/#access-denied

    I am running into this problem still (4/24/19), and I even deleted everything, recreated a new IAM User per the instructions, and created a new bucket from inside Offload Media Lite…

    Still says “Access Denied” ??

    SwiftNinjaPro

    (@swiftninjapro)

    solved fro google cloud. had to set to fine-grained access control

Viewing 9 replies - 1 through 9 (of 9 total)
  • The topic ‘Acces Denied to bucket’ is closed to new replies.