From c770a31fbfcc1e69ac666f52676e709a65c9ef72 Mon Sep 17 00:00:00 2001 From: Felix Kaechele Date: Sun, 7 Jun 2020 12:14:54 -0400 Subject: [PATCH 2/3] change logs permissions to 664 This patch is carried downstream only. Signed-off-by: Felix Kaechele --- src/core/ngx_cycle.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/core/ngx_cycle.c b/src/core/ngx_cycle.c index 95f4bdf..a0dcca6 100644 --- a/src/core/ngx_cycle.c +++ b/src/core/ngx_cycle.c @@ -1182,7 +1182,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", -- 2.26.2