From 3b675768a95949807476445aa830efe6405e79df Mon Sep 17 00:00:00 2001 From: Daniel Kempkens Date: Fri, 11 Nov 2022 15:29:35 +0100 Subject: [PATCH] Synapse: Fix permissions --- container/matrix/config.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/container/matrix/config.nix b/container/matrix/config.nix index a32e244..80b5140 100644 --- a/container/matrix/config.nix +++ b/container/matrix/config.nix @@ -4,13 +4,13 @@ # Synapse systemd.tmpfiles.rules = [ - "d /etc/container-matrix/synapse 0755 0 0" + "d /etc/container-matrix/synapse 0755 991 991" ]; environment.etc."container-matrix/synapse/homeserver.yaml" = { source = ../../secret/container/matrix/config/homeserver.yaml; mode = "0640"; - uid = 0; - gid = 0; + uid = 991; + gid = 991; }; }