mirror of
https://github.com/Kozea/Radicale.git
synced 2025-08-01 18:18:31 +00:00
remove umask(0) in daemon mode
This commit is contained in:
parent
0c1dbc30bd
commit
7f0d717459
1 changed files with 0 additions and 1 deletions
|
@ -132,7 +132,6 @@ def serve(configuration, logger):
|
|||
with os.fdopen(pid_fd, "w") as pid_file:
|
||||
pid_file.write(str(os.getpid()))
|
||||
# Decouple environment
|
||||
os.umask(0)
|
||||
os.chdir("/")
|
||||
os.setsid()
|
||||
with open(os.devnull, "r") as null_in:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue