systemd: fix permissions on /var/log/journal

This commit is contained in:
Matej Cotman 2014-12-28 07:33:59 +01:00
parent fb3f5fc7db
commit 9eb24c72ff

View File

@ -1032,6 +1032,11 @@ in
'' ''
# This file is created automatically and should not be modified. # This file is created automatically and should not be modified.
# Please change the option systemd.tmpfiles.rules instead. # Please change the option systemd.tmpfiles.rules instead.
z /var/log/journal 2755 root systemd-journal - -
z /var/log/journal/%m 2755 root systemd-journal - -
z /var/log/journal/%m/* 0640 root systemd-journal - -
${concatStringsSep "\n" cfg.tmpfiles.rules} ${concatStringsSep "\n" cfg.tmpfiles.rules}
''; '';