From 21253c0bcafc06e8e25803321e7da72271911134 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Josu=C3=A9=20Tille?= Date: Mon, 2 Sep 2024 21:29:44 +0200 Subject: [PATCH] Fix permissions --- scripts/_common.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/_common.sh b/scripts/_common.sh index 76f30a7..c96f488 100644 --- a/scripts/_common.sh +++ b/scripts/_common.sh @@ -72,9 +72,9 @@ install_source() { set_permission() { # Set permission chown "$app:$app" -R "$install_dir" - chmod u+rw,o= -R "$install_dir" + chmod u+rwX,g+rX-w,o= -R "$install_dir" chown "$app:$app" -R "$data_dir" - chmod u+rw,o= -R "$data_dir" + chmod u+rwX,g+rX-w,o= -R "$data_dir" chown "$app:$app" -R /var/log/"$app" chmod u=rwX,g=rX,o= -R /var/log/"$app" # Criticals files