a6d5b6
diff --git a/src/core/ngx_cycle.c b/src/core/ngx_cycle.c
a6d5b6
index aee7a58..bcceecb 100644
a6d5b6
--- a/src/core/ngx_cycle.c
a6d5b6
+++ b/src/core/ngx_cycle.c
a6d5b6
@@ -1108,7 +1108,7 @@ ngx_reopen_files(ngx_cycle_t *cycle, ngx_uid_t user)
a6d5b6
         }
a6d5b6
 
a6d5b6
         fd = ngx_open_file(file[i].name.data, NGX_FILE_APPEND,
a6d5b6
-                           NGX_FILE_CREATE_OR_OPEN, NGX_FILE_DEFAULT_ACCESS);
a6d5b6
+                           NGX_FILE_CREATE_OR_OPEN, NGX_FILE_DEFAULT_ACCESS | 0220);
a6d5b6
 
a6d5b6
         ngx_log_debug3(NGX_LOG_DEBUG_EVENT, cycle->log, 0,
a6d5b6
                        "reopen file \"%s\", old:%d new:%d",