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

Copying object onto itself with metadata fails #711

Closed
arosu opened this issue Mar 8, 2024 · 0 comments · Fixed by #668
Closed

Copying object onto itself with metadata fails #711

arosu opened this issue Mar 8, 2024 · 0 comments · Fixed by #668
Assignees

Comments

@arosu
Copy link

arosu commented Mar 8, 2024

Running the following:

s5cmd cp --metadata "md5sum=xyz" s3://path/to/object s3://path/to/object

Fails with:

ERROR "cp s3://path/to/object s3://path/to/object": InvalidRequest: This copy request is illegal because it is trying to copy an object to itself without changing the object's metadata, storage class, website redirect location or encryption attributes. status code: 400, request id: abc, host id:

Even though I definitely am changing the object's metadata.

@ilkinulas ilkinulas added this to s5cmd Jun 28, 2024
@ilkinulas ilkinulas moved this to Planned in s5cmd Jul 2, 2024
@ilkinulas ilkinulas moved this from Planned to Review in s5cmd Jul 5, 2024
@github-project-automation github-project-automation bot moved this from Review to Done in s5cmd Jul 5, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Archived in project
Development

Successfully merging a pull request may close this issue.

2 participants