diff options
| author | Roy Marples <roy@marples.name> | 2013-03-27 16:05:45 +0000 |
|---|---|---|
| committer | Roy Marples <roy@marples.name> | 2013-03-27 16:05:45 +0000 |
| commit | 5ad8b7f825ecbe23e92ddfbf1e8544a1e0d09e03 (patch) | |
| tree | a4a7fc6fcfa82b6b29f4a55adbed48428329b1b0 | |
| parent | d568259c571bff2ae400a606d311798363f343f2 (diff) | |
| download | dhcpcd-5ad8b7f825ecbe23e92ddfbf1e8544a1e0d09e03.tar.xz | |
Create lease files so they are user writeable.
| -rw-r--r-- | dhcp.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -1153,7 +1153,7 @@ write_lease(const struct interface *iface, const struct dhcp_message *dhcp) syslog(LOG_DEBUG, "%s: writing lease `%s'", iface->name, iface->leasefile); - fd = open(iface->leasefile, O_WRONLY | O_CREAT | O_TRUNC, 0444); + fd = open(iface->leasefile, O_WRONLY | O_CREAT | O_TRUNC, 0644); if (fd == -1) return -1; |
