Skip to content

Commit d566d58

Browse files
committed
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.
1 parent fa4a391 commit d566d58

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

xmpp2/loglist.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,8 @@
4545
path: '{{ item }}'
4646
state: directory
4747
mode: 'u=rx,go='
48+
owner: root
49+
group: root
4850
loop:
4951
- '{{ host_db_init_scripts_dir }}'
5052
- '{{ host_config_dir }}'
@@ -54,6 +56,8 @@
5456
path: '{{ item }}'
5557
state: directory
5658
mode: 'u=rwx,go='
59+
owner: root
60+
group: root
5761
loop:
5862
- '{{ host_data_dir }}'
5963

0 commit comments

Comments
 (0)