diff options
author | Stanislas <angristan@pm.me> | 2020-05-17 17:27:36 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-05-17 17:27:36 +0200 |
commit | ce87469d0a085b238646387fb01d78c206b83124 (patch) | |
tree | 601b6789065820d8574de6ded03045686cc686d5 | |
parent | 199bbbcb9fe0620000538ae0c7766ff4a8f4cf0c (diff) |
Fix `tootctl upgrade storage-schema` S3 ACL (#13768)
-rw-r--r-- | lib/mastodon/upgrade_cli.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/mastodon/upgrade_cli.rb b/lib/mastodon/upgrade_cli.rb index 629834b19..570b7e6fa 100644 --- a/lib/mastodon/upgrade_cli.rb +++ b/lib/mastodon/upgrade_cli.rb @@ -97,7 +97,7 @@ module Mastodon progress.log("Moving #{object.key} to #{new_object.key}") if options[:verbose] begin - object.move_to(new_object) unless dry_run? + object.move_to(new_object, acl: attachment.s3_permissions(style)) unless dry_run? rescue => e progress.log(pastel.red("Error processing #{object.key}: #{e}")) success = false |