Actually, umask 002 is what we want here.

This commit is contained in:
Tonnerre LOMBARD 2013-10-27 02:39:29 +02:00
parent 37c949e83b
commit f7f8c09a77

View file

@ -28,7 +28,7 @@ class Daemon:
# decouple from parent environment
os.chdir('/')
os.setsid()
os.umask(022)
os.umask(002)
# do second fork
try: