nghttpx: Remove S_IROTH when creating log file

This commit is contained in:
Tatsuhiro Tsujikawa 2014-07-05 22:41:53 +09:00
parent 367e764ca3
commit afdc61a253
1 changed files with 1 additions and 1 deletions

View File

@ -590,7 +590,7 @@ bool numeric_host(const char *hostname)
int reopen_log_file(const char *path) int reopen_log_file(const char *path)
{ {
auto fd = open(path, O_WRONLY | O_APPEND | O_CREAT, 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) { if(fd == -1) {
return -1; return -1;