From d566d5811eb23d458357989c387d55a98f1c5249 Mon Sep 17 00:00:00 2001 From: Friedrich von Never Date: Mon, 1 Sep 2025 23:39:55 +0200 Subject: [PATCH] loglist: set up user and group for the used directories Otherwise, the files were marked as owned by dnsmasq:systemd-journal (WTF), and this was breaking the PostgreSQL file access. --- xmpp2/loglist.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/xmpp2/loglist.yml b/xmpp2/loglist.yml index fe3d48b..43b1e49 100644 --- a/xmpp2/loglist.yml +++ b/xmpp2/loglist.yml @@ -45,6 +45,8 @@ path: '{{ item }}' state: directory mode: 'u=rx,go=' + owner: root + group: root loop: - '{{ host_db_init_scripts_dir }}' - '{{ host_config_dir }}' @@ -54,6 +56,8 @@ path: '{{ item }}' state: directory mode: 'u=rwx,go=' + owner: root + group: root loop: - '{{ host_data_dir }}'