Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bug: aws-cli v2 with permission denied in Put-Object operation #9274

Closed
1 task
Geun-Oh opened this issue Feb 4, 2025 · 2 comments
Closed
1 task

Bug: aws-cli v2 with permission denied in Put-Object operation #9274

Geun-Oh opened this issue Feb 4, 2025 · 2 comments
Labels
bug This issue is a bug. needs-triage This issue or PR still needs to be triaged.

Comments

@Geun-Oh
Copy link

Geun-Oh commented Feb 4, 2025

Describe the bug

I tried put-object operation in S3 compatible api.
But it returns Access Denied like below.

Is this issue related with the announcement?
I can't find the reports with Access Denied,,

It also did not worked with the AWS_RESPONSE_CHECKSUM_VALIDATION option.

Thanks for checking.

Regression Issue

  • Select this option if this issue appears to be a regression.

Expected Behavior

aws --endpoint-url=$ENDPOINT s3 cp loadbalancer-report.json s3://$BUCKET/data/"$DATE"/loadbalancer-report.json
upload: ./loadbalancer-report.json to s3://$BUCKET/data/$DATE/loadbalanceer-report.json

Current Behavior

aws --endpoint-url=$ENDPOINT s3 cp loadbalancer-report.json s3://$BUCKET/data/"$DATE"/loadbalancer-report.json
upload failed: ./loadbalancer-report.json to s3://$BUCKET/data/"$DATE"/loadbalancer-report.json 
An error occurred (AccessDenied) when calling the PutObject operation: Access Denied

Reproduction Steps

env

aws --version
aws-cli/2.23.6 Python/3.12.6 Darwin/23.5.0 exe/x86_64

Possible Solution

No response

Additional Information/Context

No response

CLI version used

2.23.6

Environment details (OS name and version, etc.)

aws-cli/2.23.6 Python/3.12.6 Darwin/23.5.0 exe/x86_64

@Geun-Oh Geun-Oh added bug This issue is a bug. needs-triage This issue or PR still needs to be triaged. labels Feb 4, 2025
@Geun-Oh
Copy link
Author

Geun-Oh commented Feb 4, 2025

Sry, it's just Checksum issue, it could be detoured with export AWS_REQUEST_CHECKSUM_CALCULATION=WHEN_REQUIRED...

@Geun-Oh Geun-Oh closed this as completed Feb 4, 2025
Copy link

github-actions bot commented Feb 4, 2025

This issue is now closed. Comments on closed issues are hard for our team to see.
If you need more assistance, please open a new issue that references this one.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug This issue is a bug. needs-triage This issue or PR still needs to be triaged.
Projects
None yet
Development

No branches or pull requests

1 participant