From c3a395a6f07bfc53eaa734fc63bb01f5a42a973f Mon Sep 17 00:00:00 2001 From: Vlad Grigorescu Date: Wed, 26 Aug 2020 18:07:21 -0500 Subject: [PATCH] Fix another umask issue. #1145 --- src/util.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/util.cc b/src/util.cc index fe39f9be9c..467d8e54e0 100644 --- a/src/util.cc +++ b/src/util.cc @@ -1004,7 +1004,7 @@ void set_processing_status(const char* status, const char* reason) int old_errno = errno; - int fd = open(proc_status_file, O_CREAT | O_WRONLY | O_TRUNC, 0700); + int fd = open(proc_status_file, O_CREAT | O_WRONLY | O_TRUNC, 0777); if ( fd < 0 ) { report_error_with_errno("Failed to open process status file");