Browse Source

* DaemonLinux : set umask to 0027 instead 0000

pull/317/head
hagen 9 years ago
parent
commit
5d510f1cf4
  1. 2
      DaemonLinux.cpp

2
DaemonLinux.cpp

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

Loading…
Cancel
Save