summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorTimo Sirainen <cras@irssi.org>2001-10-31 15:18:18 +0000
committercras <cras@dbcabf3a-b0e7-0310-adc4-f8d773084564>2001-10-31 15:18:18 +0000
commitee932683152ebafadbef31cd5cc305e8cb683493 (patch)
tree9d03d8c9c714819a744dfe33247fd2d4c50cf278 /src
parent91d1be7e679d56d7cf3c5babe7bddcf22bc5fbf3 (diff)
downloadirssi-ee932683152ebafadbef31cd5cc305e8cb683493.zip
changed default log directory mode to 0700 and file mode to 0600.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1949 dbcabf3a-b0e7-0310-adc4-f8d773084564
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, .. */