From f4935af861ed50eb3829b52f876d83b2daf249e3 Mon Sep 17 00:00:00 2001 From: D5k H3h <85834680+dhuschde@users.noreply.github.com> Date: Sun, 18 Feb 2024 09:33:03 +0100 Subject: [PATCH] chmod after build on install --- scripts/install | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/scripts/install b/scripts/install index 7163eeb..dfd9369 100755 --- a/scripts/install +++ b/scripts/install @@ -33,9 +33,6 @@ pushd "$install_dir" git reset --hard --quiet $version_commit popd -chmod -R o-rwx "$install_dir" -chown -R $app:www-data "$install_dir" - #================================================= # NGINX CONFIGURATION #================================================= @@ -56,6 +53,9 @@ pushd $install_dir ynh_exec_warn_less $ynh_npm run build popd +chmod -R o-rwx "$install_dir" +chown -R $app:www-data "$install_dir" + #================================================= # END OF SCRIPT #=================================================