From d8ddaf1a801a148ba9626b7117b250f8ef58cad7 Mon Sep 17 00:00:00 2001 From: ericgaspar Date: Sat, 24 Apr 2021 12:44:42 +0200 Subject: [PATCH] Fix --- scripts/install | 6 +++--- scripts/restore | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/scripts/install b/scripts/install index e57c934..b5a09d6 100644 --- a/scripts/install +++ b/scripts/install @@ -189,9 +189,9 @@ ynh_add_systemd_config ynh_script_progression --message="Securing files and directories..." # Set permissions to app files -chown -R $app:$app $final_path -chown -R $app:$app $public_path -chmod 750 $public_path +chown -R $app:www-data $final_path +chown -R $app:www-data $public_path +chmod 755 $public_path #================================================= # SETUP LOGROTATE diff --git a/scripts/restore b/scripts/restore index a6153c4..791901b 100644 --- a/scripts/restore +++ b/scripts/restore @@ -74,7 +74,7 @@ ynh_restore_file --origin_path="$final_path" ynh_script_progression --message="Restoring user rights..." # Restore permissions on app files -chown -R $app:$app $final_path +chown -R $app:www-data $final_path #================================================= # SPECIFIC RESTORATION