From 7f0d71745900a870cf797209624621406bcbeac4 Mon Sep 17 00:00:00 2001 From: Tim Woodcock Date: Tue, 29 Nov 2016 16:32:27 -0800 Subject: [PATCH] remove umask(0) in daemon mode --- radicale/__main__.py | 1 - 1 file changed, 1 deletion(-) diff --git a/radicale/__main__.py b/radicale/__main__.py index 8a50075..27de45d 100644 --- a/radicale/__main__.py +++ b/radicale/__main__.py @@ -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: