From c2db4cfc798af39c66130421c36ffcc98efe83ad Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Josu=C3=A9=20Tille?= Date: Wed, 5 Jun 2024 12:37:17 +0200 Subject: [PATCH] Fix log rotate permission --- scripts/_common.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/scripts/_common.sh b/scripts/_common.sh index 18094ce..1c1c832 100755 --- a/scripts/_common.sh +++ b/scripts/_common.sh @@ -264,5 +264,6 @@ set_permissions() { chmod 600 /etc/matrix-"$app"/"$server_name".signing.key chown "$app":root -R /var/log/matrix-"$app" + chmod u=rwX,g=rX,o= -R /var/log/matrix-"$app" setfacl -R -m user:turnserver:rwX /var/log/matrix-"$app" }