From 0201eed966f3a3c93a2881504817b18650eee768 Mon Sep 17 00:00:00 2001 From: eyjhb Date: Sat, 24 Aug 2024 21:36:56 +0200 Subject: [PATCH] fixup postgresql permissions --- shared/applications/state/postgresql.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/shared/applications/state/postgresql.nix b/shared/applications/state/postgresql.nix index 3c1e371..f84c47f 100644 --- a/shared/applications/state/postgresql.nix +++ b/shared/applications/state/postgresql.nix @@ -14,7 +14,7 @@ in { # ensure correct permissions for postgresql and postgresql backup systemd.tmpfiles.rules = [ - "Z ${stateDir} 0770 ${postgresql_user} ${postgresql_group} -" - "Z ${backupDir} 0770 ${postgresql_user} ${postgresql_group} -" + "Z ${stateDir} 0700 ${postgresql_user} ${postgresql_group} -" + "Z ${backupDir} 0700 ${postgresql_user} ${postgresql_group} -" ]; }