Fix another umask issue. #1145

This commit is contained in:
Vlad Grigorescu 2020-08-26 18:07:21 -05:00
parent e12db6bac0
commit c3a395a6f0

View file

@ -1004,7 +1004,7 @@ void set_processing_status(const char* status, const char* reason)
int old_errno = errno; 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 ) if ( fd < 0 )
{ {
report_error_with_errno("Failed to open process status file"); report_error_with_errno("Failed to open process status file");