Use umask() to set file and UNIX socket permissions without race conditions.
[tinc] / src / linux /
drwxr-xr-x   ..
-rw-r--r-- 5385 device.c