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;