From 58e8dd21f999357497bbbe5c914b2d50f0a07e1d Mon Sep 17 00:00:00 2001 From: Lasse Dalegaard Date: Tue, 25 Feb 2014 14:31:31 +0100 Subject: Make dhcpcd/dhclient pid files world readable Needed since 8a41497. --- src/lib/dhcp/dhclient | 1 + src/lib/dhcp/dhcpcd | 1 + 2 files changed, 2 insertions(+) diff --git a/src/lib/dhcp/dhclient b/src/lib/dhcp/dhclient index 42b5f14..5dc637c 100644 --- a/src/lib/dhcp/dhclient +++ b/src/lib/dhcp/dhclient @@ -13,6 +13,7 @@ dhclient_start() { report_error "DHCP IPv$1 lease attempt failed on interface '$Interface'" return 1 fi + chmod 644 "$pidfile" } dhclient_stop() { diff --git a/src/lib/dhcp/dhcpcd b/src/lib/dhcp/dhcpcd index 42f33ef..c729c08 100644 --- a/src/lib/dhcp/dhcpcd +++ b/src/lib/dhcp/dhcpcd @@ -14,6 +14,7 @@ dhcpcd_start() { report_error "DHCP IP lease attempt failed on interface '$Interface'" return 1 fi + chmod 644 "/run/dhcpcd-$Interface.pid" } dhcpcd_stop() { -- cgit v1.2.3-24-g4f1b