From afdc61a253a5518d2e8bfe1f6fadea39c00a3cd0 Mon Sep 17 00:00:00 2001 From: Tatsuhiro Tsujikawa Date: Sat, 5 Jul 2014 22:41:53 +0900 Subject: [PATCH] nghttpx: Remove S_IROTH when creating log file --- src/util.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/util.cc b/src/util.cc index 4100d055..fdc96699 100644 --- a/src/util.cc +++ b/src/util.cc @@ -590,7 +590,7 @@ bool numeric_host(const char *hostname) int reopen_log_file(const char *path) { auto fd = open(path, O_WRONLY | O_APPEND | O_CREAT, - S_IRUSR | S_IWUSR | S_IRGRP | S_IROTH); + S_IRUSR | S_IWUSR | S_IRGRP); if(fd == -1) { return -1;