2020-06-07 16:40:18 +00:00
|
|
|
From 57187b92659e3b66fcbd4cc92a35bc11088e24e6 Mon Sep 17 00:00:00 2001
|
|
|
|
From: Felix Kaechele <felix@kaechele.ca>
|
|
|
|
Date: Sun, 7 Jun 2020 12:14:54 -0400
|
|
|
|
Subject: [PATCH 2/2] change logs permissions to 664
|
|
|
|
|
|
|
|
This patch is carried downstream only.
|
|
|
|
|
|
|
|
Signed-off-by: Felix Kaechele <felix@kaechele.ca>
|
|
|
|
---
|
|
|
|
src/core/ngx_cycle.c | 2 +-
|
|
|
|
1 file changed, 1 insertion(+), 1 deletion(-)
|
|
|
|
|
2018-05-14 11:45:48 +00:00
|
|
|
diff --git a/src/core/ngx_cycle.c b/src/core/ngx_cycle.c
|
2020-06-07 16:40:18 +00:00
|
|
|
index 95f4bdf..a0dcca6 100644
|
2018-05-14 11:45:48 +00:00
|
|
|
--- a/src/core/ngx_cycle.c
|
|
|
|
+++ b/src/core/ngx_cycle.c
|
2020-06-07 16:40:18 +00:00
|
|
|
@@ -1182,7 +1182,7 @@ ngx_reopen_files(ngx_cycle_t *cycle, ngx_uid_t user)
|
2018-05-14 11:45:48 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
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",
|
2020-06-07 16:40:18 +00:00
|
|
|
--
|
|
|
|
2.26.2
|
|
|
|
|