- Removed os.umask(0) as it is a potential security issue. Thanks to Yaroslav Halchenko

git-svn-id: https://fail2ban.svn.sourceforge.net/svnroot/fail2ban/branches/FAIL2BAN-0_5@140 a942ae1a-1317-0410-a47c-b1dcaea8d605
0.5
Cyril Jaquier 2005-07-15 14:08:17 +00:00
parent d2f7dc0521
commit 3b154baae5
1 changed files with 0 additions and 2 deletions

View File

@ -76,8 +76,6 @@ def createDaemon():
# Ensure that the daemon doesn't keep any directory in use. Failure
# to do this could make a filesystem unmountable.
os.chdir("/")
# Give the child complete control over permissions.
os.umask(0)
else:
os._exit(0) # Exit parent (the first child) of the second child.
else: