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:
parent
91d1be7e67
commit
ee93268315
@ -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;
|
||||||
|
@ -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, .. */
|
||||||
|
Loading…
Reference in New Issue
Block a user