X-Git-Url: http://git.archive.openwrt.org/?p=project%2Fubus.git;a=blobdiff_plain;f=ubusd.c;h=65b82cab3f79da491bd6f886c7674aea2d97957a;hp=c3edc70f5a95a53675b8a0e9337f1674b78d6dac;hb=b2e629a4e915e68acba129a5e00480e255ebc164;hpb=3df5b18af2c6b962ebd9ddea9208edadc3ea42e4 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");