diff options
Diffstat (limited to 'usr.sbin/uhsoctl/uhsoctl.c')
-rw-r--r-- | usr.sbin/uhsoctl/uhsoctl.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/usr.sbin/uhsoctl/uhsoctl.c b/usr.sbin/uhsoctl/uhsoctl.c index 421bf81..46a9d0a 100644 --- a/usr.sbin/uhsoctl/uhsoctl.c +++ b/usr.sbin/uhsoctl/uhsoctl.c @@ -455,7 +455,7 @@ set_nameservers(struct ctx *ctx, const char *respath, int ns, ...) free(ctx->ns); } - fd = open(respath, O_RDWR | O_CREAT | O_NOFOLLOW); + fd = open(respath, O_RDWR | O_CREAT | O_NOFOLLOW, 0666); if (fd < 0) return (-1); |