Fail to change user-defined metadata via S3

I am using s3cmd to interact with my objects that carry some user-defined metadata. However, I don't seem to be able to update them after they have been uploaded. Using s3cmd modify command, I always get HTTP 403 (Forbidden) with code 'SignatureDoesNotMatch'. Any idea why?

I used the following command to update the metadata:

/usr/bin/s3cmd -d --add-header="x-amz-meta-play:world" modify s3://play-bucket/9G

It is interesting to note that even without the "--add-header" part, it still fails with the same code 'SignatureDoesNotMatch'.

0 Replies

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