From a76083d4393804bf9821ced15eb529644f551535 Mon Sep 17 00:00:00 2001 From: Mike Mars Date: Fri, 3 Jun 2016 15:07:52 -0700 Subject: [PATCH] Missed umask octal conversion. --- utilities/helper/accelerate.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/utilities/helper/accelerate.py b/utilities/helper/accelerate.py index 403bd4667e5..ceabbe4a706 100644 --- a/utilities/helper/accelerate.py +++ b/utilities/helper/accelerate.py @@ -176,7 +176,7 @@ def daemonize_self(module, password, port, minutes, pid_file): # decouple from parent environment os.chdir("/") os.setsid() - os.umask(Oo22) + os.umask(int('O22', 8)) # do second fork try: