mirror of https://github.com/fail2ban/fail2ban
I"m not paranoid but fixed umask also in utils/process.py although it seems that fail2ban.py corrects it properly later on
parent
b8240499b1
commit
ce98955f34
|
@ -77,7 +77,8 @@ def createDaemon():
|
|||
# to do this could make a filesystem unmountable.
|
||||
os.chdir("/")
|
||||
# Give the child complete control over permissions.
|
||||
os.umask(0)
|
||||
# yoh: evil evil evil!
|
||||
# os.umask(0)
|
||||
else:
|
||||
os._exit(0) # Exit parent (the first child) of the second child.
|
||||
else:
|
||||
|
|
Loading…
Reference in New Issue