497c396bdb
The content of this branch was automatically imported from Fedora ELN with the following as its source: https://src.fedoraproject.org/rpms/nginx#bd726b71e50db2c0a3eabdfecd1ec3b8cfefeb08
14 lines
581 B
Diff
14 lines
581 B
Diff
diff --git a/src/core/ngx_cycle.c b/src/core/ngx_cycle.c
|
|
index aee7a58..bcceecb 100644
|
|
--- a/src/core/ngx_cycle.c
|
|
+++ b/src/core/ngx_cycle.c
|
|
@@ -1108,7 +1108,7 @@ ngx_reopen_files(ngx_cycle_t *cycle, ngx_uid_t user)
|
|
}
|
|
|
|
fd = ngx_open_file(file[i].name.data, NGX_FILE_APPEND,
|
|
- NGX_FILE_CREATE_OR_OPEN, NGX_FILE_DEFAULT_ACCESS);
|
|
+ NGX_FILE_CREATE_OR_OPEN, NGX_FILE_DEFAULT_ACCESS | 0220);
|
|
|
|
ngx_log_debug3(NGX_LOG_DEBUG_EVENT, cycle->log, 0,
|
|
"reopen file \"%s\", old:%d new:%d",
|