I"m not paranoid but fixed umask also in utils/process.py although it seems that fail2ban.py corrects it properly later on

debian-releases/etch
Yaroslav Halchenko 2005-07-13 10:04:20 +00:00
parent b8240499b1
commit ce98955f34
1 changed files with 2 additions and 1 deletions

View File

@ -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: