]> git.marmaro.de Git - mmh/commitdiff
Hardcode the defaults for Msg-Protect and Folder-Protect. Also fix the
authorKen Hornstein <kenh@pobox.com>
Fri, 6 Jan 2012 19:18:46 +0000 (14:18 -0500)
committerKen Hornstein <kenh@pobox.com>
Fri, 6 Jan 2012 19:18:46 +0000 (14:18 -0500)
documentation (had the wrong value for the default for Msg-Protect).

acconfig.h
config/config.c
man/mh-profile.man

index 3961a30162a282115cedf207c09d87af01443bd9..18945046948a065ab5cba08b021b8dc1f122f532 100644 (file)
  */
 /* #define REALLYDUMB  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.
  */
index a4edc46545096f3620462eba1b82962503508c7f..82d20b18a88d63632980070a1eeadee0c9ea2827 100644 (file)
@@ -346,7 +346,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
@@ -354,5 +354,5 @@ char *foldprot = DEFAULT_FOLDER_MODE;
  * to messages coming in through inc.
  */
 
-char *msgprot = DEFAULT_MESSAGE_MODE;
+char *msgprot = "600";
 
index f8ae608213d5c0f8de105327a4013d2560fba9fd..4299a304382ccc1c0c7f1d233087bebc73589209 100644 (file)
@@ -154,17 +154,17 @@ composition draft before it is sent.
 .RE
 .PP
 .BR Msg\-Protect :
-644
+600
 .RS 5
 An octal number which defines the permission bits for new message files.
 See
 .BR chmod (1)
 for an explanation of the octal number.
-(profile, default: 0644)
+(profile, default: 0600)
 .RE
 .PP
 .BR Folder\-Protect :
-750
+700
 .RS 5
 An octal number which defines the permission bits for new folder
 directories.  See