Actually, umask 002 is what we want here.
This commit is contained in:
parent
37c949e83b
commit
f7f8c09a77
1 changed files with 1 additions and 1 deletions
|
|
@ -28,7 +28,7 @@ class Daemon:
|
|||
# decouple from parent environment
|
||||
os.chdir('/')
|
||||
os.setsid()
|
||||
os.umask(022)
|
||||
os.umask(002)
|
||||
|
||||
# do second fork
|
||||
try:
|
||||
|
|
|
|||
Loading…
Reference in a new issue