From ce98955f342c37c343446afa95ff7b251001714c Mon Sep 17 00:00:00 2001 From: Yaroslav Halchenko Date: Wed, 13 Jul 2005 10:04:20 +0000 Subject: [PATCH] I"m not paranoid but fixed umask also in utils/process.py although it seems that fail2ban.py corrects it properly later on --- utils/process.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/utils/process.py b/utils/process.py index 878149d1..dd935cfc 100644 --- a/utils/process.py +++ b/utils/process.py @@ -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: