* DaemonLinux : set umask to 0027 instead 0000

This commit is contained in:
hagen 2016-01-11 10:55:50 +00:00
parent 1819bd910a
commit 5d510f1cf4

View File

@ -58,7 +58,7 @@ namespace i2p
}
// child
umask(0);
umask(S_IWGRP | S_IRWXO); // 0027
int sid = setsid();
if (sid < 0)
{