From edc571353f4a383ba45b1dfed6a172e06fb289a7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?F=C3=A9lix=20Pi=C3=A9dallu?= Date: Mon, 29 Jan 2024 13:48:39 +0100 Subject: [PATCH] Fix file permissions --- scripts/install | 2 ++ 1 file changed, 2 insertions(+) diff --git a/scripts/install b/scripts/install index 3e1b6f6..a7813d9 100644 --- a/scripts/install +++ b/scripts/install @@ -26,7 +26,9 @@ ynh_script_progression --message="Installing config file..." --weight=2 # because we're in a reverse proxy context... mkdir -p /etc/coolwsd ynh_add_config --template="../conf/coolwsd.xml" --destination="/etc/coolwsd/coolwsd.xml" + chmod 640 "/etc/coolwsd/coolwsd.xml" +chown cool:root -R /etc/coolwsd #================================================= # SYSTEM CONFIGURATION