Skip to content

aws-cpp-sdk Issue GetBucketLocation returns Access Denied - when not called by bucket owner #844

@jimmy-edicogenome

Description

@jimmy-edicogenome

We are running on Centos and Ubuntu and seen the issue on both the systems.
GCC version 4.9.3

Here is the scenario - The data that we want to process in our application is available on S3 buckets. The customers control these S3 buckets. The buckets can be in any region (typically they are is us-east-1, us-west-2 and eu-west-2). We try to stream the data from S3 directly to ensure this works from any location we try GetBucketLocation - the issue is GetBucketLocation returns Access Denied if the client running the instance is not the owner of the bucket.
Not sure how to get around this limitation

Thanks

Jimmy

Metadata

Metadata

Assignees

No one assigned

    Labels

    help wantedWe are asking the community to submit a PR to resolve this issue.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions