1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/outline_ynh.git synced 2024-09-03 19:56:12 +02:00

fix set policy

This commit is contained in:
Limezy 2023-02-17 00:31:48 +07:00
parent eb6e1ac6c5
commit 6f14d06d7b
3 changed files with 3 additions and 3 deletions

View file

@ -200,7 +200,7 @@ chown minio:www-data "$mc_path/policy.json"
pushd "$mc_path"
ynh_exec_warn_less sudo -u minio ./mc mb minio/outlinestorage --region "fr-ynh-1"
ynh_exec_warn_less sudo -u minio ./mc admin policy add minio outline ./policy.json
ynh_exec_warn_less sudo -u minio ./mc admin policy set outline minio/outlinestorage
ynh_exec_warn_less sudo -u minio ./mc admin policy set minio/outlinestorage outline
popd
#=================================================

View file

@ -129,7 +129,7 @@ chown minio:www-data "$mc_path/policy.json"
pushd "$mc_path"
ynh_exec_warn_less sudo -u minio ./mc mb minio/outlinestorage --region "fr-ynh-1"
ynh_exec_warn_less sudo -u minio ./mc admin policy add minio outline ./policy.json
ynh_exec_warn_less sudo -u minio ./mc admin policy set outline minio/outlinestorage
ynh_exec_warn_less sudo -u minio ./mc admin policy set minio/outlinestorage outline
popd
ynh_secure_remove --file="$mc_path/outlinestorage"

View file

@ -105,7 +105,7 @@ chown minio:www-data "$mc_path/policy.json"
pushd "$mc_path"
ynh_exec_warn_less sudo -u minio ./mc admin policy add minio outline ./policy.json
ynh_exec_warn_less sudo -u minio ./mc admin policy set outline minio/outlinestorage
ynh_exec_warn_less sudo -u minio ./mc admin policy set minio/outlinestorage outline
popd
#=================================================