]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
tmpfiles: specify access mode for /run/systemd/netif
authorYu Watanabe <watanabe.yu+github@gmail.com>
Mon, 25 Jun 2018 05:56:49 +0000 (14:56 +0900)
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Mon, 25 Jun 2018 08:32:13 +0000 (10:32 +0200)
This partially reverts 2af767729489f6baa98a2641b2007acab44ed353.
As the directories are certainly readable and not-writable by
non-privileged users.

tmpfiles.d/systemd.conf.m4

index 0992f74209dbc011271a11b0ba6ce0ed98803303..120e42a1b94648001e3bf73088b3e35c5432332d 100644 (file)
@@ -17,9 +17,9 @@ d /run/systemd/users 0755 root root -
 d /run/systemd/machines 0755 root root -
 d /run/systemd/shutdown 0755 root root -
 m4_ifdef(`ENABLE_NETWORKD',
-d /run/systemd/netif - - - -
-d /run/systemd/netif/links - - - -
-d /run/systemd/netif/leases - - - -
+d /run/systemd/netif 0755 - - -
+d /run/systemd/netif/links 0755 - - -
+d /run/systemd/netif/leases 0755 - - -
 )m4_dnl
 
 d /run/log 0755 root root -