From: Greg KH Date: Tue, 15 Apr 2014 21:12:01 +0000 (-0700) Subject: tmpfiles: fix permissions on new journal files X-Git-Tag: v213~384 X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?p=elogind.git;a=commitdiff_plain;h=a606871da508995f5ede113a8fc6538afd98966c;ds=sidebyside tmpfiles: fix permissions on new journal files When starting up journald on a new system, set the proper permissions on the system.journal files, not only on the journal directory. --- diff --git a/tmpfiles.d/systemd.conf b/tmpfiles.d/systemd.conf index 7c6d6b909..c47004532 100644 --- a/tmpfiles.d/systemd.conf +++ b/tmpfiles.d/systemd.conf @@ -23,6 +23,6 @@ d /run/systemd/machines 0755 root root - d /run/systemd/shutdown 0755 root root - m /var/log/journal 2755 root systemd-journal - - -m /var/log/journal/%m 2755 root systemd-journal - - +Z /var/log/journal/%m 2755 root systemd-journal - - m /run/log/journal 2755 root systemd-journal - - -m /run/log/journal/%m 2755 root systemd-journal - - +Z /run/log/journal/%m 2755 root systemd-journal - -