summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/core/log.c2
-rw-r--r--src/core/log.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/core/log.c b/src/core/log.c
index f3cb1153..f88bdb0a 100644
--- a/src/core/log.c
+++ b/src/core/log.c
@@ -30,7 +30,7 @@
#include "lib-config/iconfig.h"
#include "settings.h"
-#define DEFAULT_LOG_FILE_CREATE_MODE 644
+#define DEFAULT_LOG_FILE_CREATE_MODE 600
#ifdef HAVE_FCNTL
static struct flock lock;
diff --git a/src/core/log.h b/src/core/log.h
index 8631c7a5..7bee63d3 100644
--- a/src/core/log.h
+++ b/src/core/log.h
@@ -1,7 +1,7 @@
#ifndef __LOG_H
#define __LOG_H
-#define LOG_DIR_CREATE_MODE 0770
+#define LOG_DIR_CREATE_MODE 0700
enum {
LOG_ITEM_TARGET, /* channel, query, .. */