mirror of
https://github.com/irssi/irssi.git
synced 2026-08-19 16:42:30 +02: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
2 changed files with 2 additions and 2 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue