[systemd-devel] [PATCH] tmpfiles: Fix journal file permissions broken by a606871
Jan Alexander Steffens (heftig)
jan.steffens at gmail.com
Mon Jun 9 11:05:35 PDT 2014
They shouldn't be executable nor world-readable.
---
tmpfiles.d/systemd.conf | 10 ++++++----
1 file changed, 6 insertions(+), 4 deletions(-)
diff --git a/tmpfiles.d/systemd.conf b/tmpfiles.d/systemd.conf
index c5910f8..d6c4da3 100644
--- a/tmpfiles.d/systemd.conf
+++ b/tmpfiles.d/systemd.conf
@@ -25,7 +25,9 @@ d /run/systemd/netif 0755 systemd-network systemd-network -
d /run/systemd/netif/links 0755 systemd-network systemd-network -
d /run/systemd/netif/leases 0755 systemd-network systemd-network -
-m /var/log/journal 2755 root systemd-journal - -
-Z /var/log/journal/%m 2755 root systemd-journal - -
-m /run/log/journal 2755 root systemd-journal - -
-Z /run/log/journal/%m 2755 root systemd-journal - -
+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 - -
+z /run/log/journal 2755 root systemd-journal - -
+z /run/log/journal/%m 2755 root systemd-journal - -
+z /run/log/journal/%m/* 0640 root systemd-journal - -
--
2.0.0
More information about the systemd-devel
mailing list