summaryrefslogtreecommitdiff
path: root/ubusd.c
diff options
context:
space:
mode:
Diffstat (limited to 'ubusd.c')
-rw-r--r--ubusd.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ubusd.c b/ubusd.c
index c3edc70..65b82ca 100644
--- a/ubusd.c
+++ b/ubusd.c
@@ -384,7 +384,7 @@ int main(int argc, char **argv)
}
unlink(ubus_socket);
- umask(0177);
+ umask(0111);
server_fd.fd = usock(USOCK_UNIX | USOCK_SERVER | USOCK_NONBLOCK, ubus_socket, NULL);
if (server_fd.fd < 0) {
perror("usock");