mirror of
https://github.com/PurpleI2P/i2pd.git
synced 2025-01-22 08:14:15 +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
|
// child
|
||||||
umask(0);
|
umask(S_IWGRP | S_IRWXO); // 0027
|
||||||
int sid = setsid();
|
int sid = setsid();
|
||||||
if (sid < 0)
|
if (sid < 0)
|
||||||
{
|
{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user