mirror of
https://github.com/zeek/zeek.git
synced 2025-10-04 07:38:19 +00:00
Fix another umask issue. #1145
This commit is contained in:
parent
e12db6bac0
commit
c3a395a6f0
1 changed files with 1 additions and 1 deletions
|
@ -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");
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue