From f00f9243485c00fabbe721a1116d574502222098 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Josu=C3=A9=20Tille?= Date: Mon, 2 Sep 2024 21:30:11 +0200 Subject: [PATCH] Fix permissions --- scripts/_common.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/_common.sh b/scripts/_common.sh index 199a9d8..8158f3f 100644 --- a/scripts/_common.sh +++ b/scripts/_common.sh @@ -274,7 +274,7 @@ set_permission() { chmod u=rwx,g=rx,o= "$data_dir" chown "$app":www-data "$data_dir" - chmod u=rwx,g=rx,o= "$data_dir"/*.rrd || true + chmod u=rw,g=r,o= "$data_dir"/*.rrd || true chown "$app":root "$data_dir"/*.rrd || true find "$data_dir"/{reports,usage} \( \! -perm -o= \ -o \! -user "$app" \