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

Fix tootctl upgrade storage-schema S3 ACL #13768

Merged

Conversation

angristan
Copy link
Contributor

The canned ACL has to be specified during a server-side copy otherwise it fall back to private

@angristan
Copy link
Contributor Author

FTR:

https://docs.aws.amazon.com/AmazonS3/latest/API/API_CopyObject.html

When copying an object, you can preserve all metadata (default) or specify new metadata. However, the ACL is not preserved and is set to private for the user making the request. To override the default ACL setting, specify a new ACL when generating a copy request.

@angristan angristan force-pushed the fix-s3-acl-upgrade-storage-schema branch from 2aee502 to 6139d1b Compare May 17, 2020 15:08
@Gargron Gargron merged commit ce87469 into mastodon:master May 17, 2020
naaaaaaaaaaaf pushed a commit to Hostdon/mastodon that referenced this pull request May 25, 2020
shouo1987 pushed a commit to CrossGate-Pawoo/mastodon that referenced this pull request Dec 7, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants