1
0
mirror of https://github.com/irssi/irssi.git synced 2025-01-03 14:56:47 -05:00

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
This commit is contained in:
Timo Sirainen 2001-10-31 15:18:18 +00:00 committed by cras
parent 91d1be7e67
commit ee93268315
2 changed files with 2 additions and 2 deletions

View File

@ -30,7 +30,7 @@
#include "lib-config/iconfig.h" #include "lib-config/iconfig.h"
#include "settings.h" #include "settings.h"
#define DEFAULT_LOG_FILE_CREATE_MODE 644 #define DEFAULT_LOG_FILE_CREATE_MODE 600
#ifdef HAVE_FCNTL #ifdef HAVE_FCNTL
static struct flock lock; static struct flock lock;

View File

@ -1,7 +1,7 @@
#ifndef __LOG_H #ifndef __LOG_H
#define __LOG_H #define __LOG_H
#define LOG_DIR_CREATE_MODE 0770 #define LOG_DIR_CREATE_MODE 0700
enum { enum {
LOG_ITEM_TARGET, /* channel, query, .. */ LOG_ITEM_TARGET, /* channel, query, .. */