From c21dbaf0eb76bbf5efd13c93cfce6b2d28481874 Mon Sep 17 00:00:00 2001 From: Thomas <51749973+Thovi98@users.noreply.github.com> Date: Mon, 19 Jun 2023 22:47:22 +0200 Subject: [PATCH] fix permissions --- scripts/install | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/scripts/install b/scripts/install index 9f666a7..ab061e6 100644 --- a/scripts/install +++ b/scripts/install @@ -26,10 +26,6 @@ ynh_setup_source --dest_dir="$install_dir/front" --source_id="front" mkdir -p $install_dir/config -chmod 750 "$install_dir" -chmod -R o-rwx "$install_dir" -chown -R $app:$app "$install_dir" - #================================================= # NGINX CONFIGURATION #================================================= @@ -110,7 +106,7 @@ popd chmod 750 "$install_dir" chmod -R o-rwx "$install_dir" -chown -R $app:$app "$install_dir" +chown -R $app:www-data "$install_dir" #================================================= # LOGROTATE