From 299efa75b0ef4cacc29050447bb2ca9be95b0b5e Mon Sep 17 00:00:00 2001 From: Stylix58 <63605602+Stylix58@users.noreply.github.com> Date: Wed, 24 Mar 2021 07:56:31 +0100 Subject: [PATCH] Fix permission bug --- scripts/install | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/install b/scripts/install index 7d71f77..fad8131 100755 --- a/scripts/install +++ b/scripts/install @@ -57,8 +57,10 @@ test ! -e "$final_path" || ynh_die --message="This path already contains a folde if [[ $path_url =~ my_webapp ]] then ynh_webpath_register --app=$app --domain=$domain --path_url=$YNH_APP_ARG_PATH + chown -R my_webapp $final_path else ynh_webpath_register --app=$app --domain=$domain --path_url=$path_url + chown -R www-data.www-data $final_path fi @@ -134,8 +136,6 @@ ynh_use_logrotate #================================================= ynh_script_progression --message="Configuring permissions..." --weight=1 -# Configure internal permissions for ICEcoder -chown -R my_webapp $final_path #================================================= # END OF SCRIPT