From 104b36e0a37bafe6620062334fa78d484dce321c Mon Sep 17 00:00:00 2001 From: markus schnalke Date: Wed, 5 Oct 2011 11:42:08 +0200 Subject: [PATCH] Moved default file/folder modes from acconfig.h to config/config.c --- acconfig.h | 6 ------ config/config.c | 4 ++-- 2 files changed, 2 insertions(+), 8 deletions(-) diff --git a/acconfig.h b/acconfig.h index efd9f383..25476022 100644 --- a/acconfig.h +++ b/acconfig.h @@ -83,12 +83,6 @@ */ #define BUILTIN_FTP 1 -/* - * Define the default creation modes for folders and messages. - */ -#define DEFAULT_FOLDER_MODE "700" -#define DEFAULT_MESSAGE_MODE "600" - /* * Name of link to file to which you are replying. */ diff --git a/config/config.c b/config/config.c index 82e72aeb..cc3bb009 100644 --- a/config/config.c +++ b/config/config.c @@ -367,7 +367,7 @@ char *AliasFile = nmhetcdir (/MailAliases); * Folders (directories) are created with this protection (mode) */ -char *foldprot = DEFAULT_FOLDER_MODE; +char *foldprot = "700"; /* * Every NEW message will be created with this protection. When a @@ -375,5 +375,5 @@ char *foldprot = DEFAULT_FOLDER_MODE; * to messages coming in through inc. */ -char *msgprot = DEFAULT_MESSAGE_MODE; +char *msgprot = "600"; -- 2.39.5