mirror of
https://github.com/fail2ban/fail2ban.git
synced 2026-03-11 08:55:31 +00:00
I"m not paranoid but fixed umask also in utils/process.py although it seems that fail2ban.py corrects it properly later on
This commit is contained in:
parent
b8240499b1
commit
ce98955f34
1 changed files with 2 additions and 1 deletions
|
|
@ -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 a new issue