1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/minio_ynh.git synced 2024-09-03 19:46:18 +02:00

Change from .mc policy to .mc anonymous

This commit is contained in:
Limezy 2023-02-01 21:57:32 +07:00
parent b08cfc11c0
commit 28bc325e86

View file

@ -188,7 +188,7 @@ then
# This is a hack, but it will make outline_ynh users' lifes much easier ! # This is a hack, but it will make outline_ynh users' lifes much easier !
if [ "$d" == "outlinestorage" ] if [ "$d" == "outlinestorage" ]
then 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 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." 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 fi