From: Roy Marples Date: Sat, 12 Apr 2008 23:15:22 +0000 (+0000) Subject: And read only ;) X-Git-Tag: v4.0.2~506 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=271a42260ea84d7527505705292bc036f2a21460;p=thirdparty%2Fdhcpcd.git And read only ;) --- diff --git a/dhcp.c b/dhcp.c index 235c639a..2dd2e5a9 100644 --- a/dhcp.c +++ b/dhcp.c @@ -699,7 +699,7 @@ write_lease(const struct interface *iface, const struct dhcp_message *dhcp) uint8_t l; uint8_t o = 0; - fd = open(iface->leasefile, O_WRONLY | O_CREAT | O_TRUNC, 0600); + fd = open(iface->leasefile, O_WRONLY | O_CREAT | O_TRUNC, 0400); if (fd == -1) return -1;