From 28bc325e86569b88f39bf02598abadfe34e78fdb Mon Sep 17 00:00:00 2001 From: Limezy Date: Wed, 1 Feb 2023 21:57:32 +0700 Subject: [PATCH] Change from .mc policy to .mc anonymous --- scripts/upgrade | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/upgrade b/scripts/upgrade index 648fceb..19b5909 100644 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -188,7 +188,7 @@ then # This is a hack, but it will make outline_ynh users' lifes much easier ! if [ "$d" == "outlinestorage" ] then - ynh_exec_warn_less sudo -u $app ./mc policy set public minio/outlinestorage + ynh_exec_warn_less sudo -u $app ./mc anonymous set public minio/outlinestorage else ynh_script_progression --message="Bucket is migrated and objects are now mirrored. However, make sure to set properly access policy of bucket $d. That part of the migration can't be automated, sorry ! You can log into the minio console to perform your changes." fi