Mercurial > hg > dhcpcd
changeset 1883:09a9880d160a draft
Create lease files so they are user writeable.
| author | Roy Marples <roy@marples.name> |
|---|---|
| date | Wed, 27 Mar 2013 16:05:45 +0000 |
| parents | 36d91fb009ef |
| children | 79485b049892 |
| files | dhcp.c |
| diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/dhcp.c Tue Feb 19 17:00:49 2013 +0000 +++ b/dhcp.c Wed Mar 27 16:05:45 2013 +0000 @@ -1153,7 +1153,7 @@ 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;
