From b82be358491865c700f87cddc357dea68f75ee98 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Alexander=20W=C3=BChr?= Date: Fri, 24 Feb 2023 14:53:08 +0100 Subject: [PATCH] tune permissions --- scripts/_common.sh | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/scripts/_common.sh b/scripts/_common.sh index fcdb3c4..0bf42a9 100644 --- a/scripts/_common.sh +++ b/scripts/_common.sh @@ -15,9 +15,7 @@ ntfy_setup_source() { } ntfy_fix_permissions() { - chmod o+w "$install_dir/data" - chmod 400 "$install_dir/server.yml" - chown $app:$app "$install_dir/server.yml" + chmod -R 750 "$install_dir" chmod +x "$install_dir/ntfy.sh" }