From 1834491cb8593d929ac1bee30eb76107a3ddb03a Mon Sep 17 00:00:00 2001 From: tituspijean Date: Sun, 11 Jun 2023 17:40:46 +0200 Subject: [PATCH] Fix install_dir and binary permissions --- scripts/upgrade | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/scripts/upgrade b/scripts/upgrade index f386544..24948a7 100644 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -34,7 +34,8 @@ fi chmod 750 "$install_dir" chmod -R o-rwx "$install_dir" -chown -R $app:www-data "$install_dir" +chown -R $app:$app "$install_dir" +chmod -R ug+x "$install_dir/headscale" #================================================= # NGINX CONFIGURATION