From: markus schnalke Date: Wed, 5 Oct 2011 09:42:08 +0000 (+0200) Subject: Moved default file/folder modes from acconfig.h to config/config.c X-Git-Tag: mmh-thesis-end~501 X-Git-Url: http://git.marmaro.de/?a=commitdiff_plain;h=104b36e0a37bafe6620062334fa78d484dce321c;p=mmh Moved default file/folder modes from acconfig.h to config/config.c --- diff --git a/acconfig.h b/acconfig.h index efd9f38..2547602 100644 --- a/acconfig.h +++ b/acconfig.h @@ -84,12 +84,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. */ #define LINK "@" diff --git a/config/config.c b/config/config.c index 82e72ae..cc3bb00 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";