How do I set policy to my linode object storage with s3cmd tool

I already set up s3cmd tool correctly since I can perform actions like download, list, upload, etc.

But when I use it to set my custom policy, I always get 403 code

❯ s3cmd setpolicy policy.json s3://cors
ERROR: S3 error: 403 (AccessDenied)

why is that? can someone help me?

1 Reply

I notice that s3:setBucketPolicy is missing in action. How would I add that to current policy since I can't use s3cmd to achieve it

Reply

Please enter an answer
Tips:

You can mention users to notify them: @username

You can use Markdown to format your question. For more examples see the Markdown Cheatsheet.

> I’m a blockquote.

I’m a blockquote.

[I'm a link] (https://www.google.com)

I'm a link

**I am bold** I am bold

*I am italicized* I am italicized

Community Code of Conduct