summarylogtreecommitdiffstats
path: root/mautrix-googlechat-registration
diff options
context:
space:
mode:
Diffstat (limited to 'mautrix-googlechat-registration')
-rw-r--r--mautrix-googlechat-registration2
1 files changed, 2 insertions, 0 deletions
diff --git a/mautrix-googlechat-registration b/mautrix-googlechat-registration
index 33200546f6ff..13fd4f73edf8 100644
--- a/mautrix-googlechat-registration
+++ b/mautrix-googlechat-registration
@@ -6,3 +6,5 @@ if [[ $EUID -ne 0 ]]; then
fi
python -m mautrix_googlechat -c /etc/mautrix-googlechat/config.yaml -r /etc/mautrix-googlechat/registration.yaml -g
+chown root:mautrix-googlechat /etc/mautrix-googlechat/config.yaml /etc/mautrix-googlechat/registration.yaml
+chmod 640 /etc/mautrix-googlechat/config.yaml /etc/mautrix-googlechat/registration.yaml