mirror of
https://github.com/PurpleI2P/i2pd.git
synced 2025-01-22 04:04:16 +00:00
* DaemonLinux : set umask to 0027 instead 0000
This commit is contained in:
parent
1819bd910a
commit
5d510f1cf4
@ -58,7 +58,7 @@ namespace i2p
|
||||
}
|
||||
|
||||
// child
|
||||
umask(0);
|
||||
umask(S_IWGRP | S_IRWXO); // 0027
|
||||
int sid = setsid();
|
||||
if (sid < 0)
|
||||
{
|
||||
|
Loading…
x
Reference in New Issue
Block a user