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)
committerPeter Michael Green <plugwash@raspbian.org>
Thu, 20 Sep 2018 20:22:45 +0000 (21:22 +0100)
This partially reverts 2af767729489f6baa98a2641b2007acab44ed353.
As the directories are certainly readable and not-writable by
non-privileged users.

(cherry picked from commit 400d8461381c5748a97fccb8a022a20f40063a7d)

Gbp-Pq: Name tmpfiles-specify-access-mode-for-run-systemd-netif.patch

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 -