Article View: gnu.emacs.vm.bug
Article #9052privacy of the primary inbox
From: Brendan Kehoe
Date: Thu, 23 Apr 1992 13:34
Date: Thu, 23 Apr 1992 13:34
37 lines
1959 bytes
1959 bytes
The diffs below to vm 5.32 will make the decision to protect the
primary inbox from curious people more of a user-based decision than a
default statement of policy by vm.
--- vm-folder.el.~1~ Mon Jun 3 16:05:17 1991
+++ vm-folder.el Thu Apr 23 09:21:11 1992
@@ -996,8 +996,10 @@
(widen)
(buffer-size))))
(write-region opoint-max (point-max) buffer-file-name t t)
- ;; make sure primary inbox is private. 384 = octal 600
- (condition-case () (set-file-modes buffer-file-name 384) (error nil))
+ (if vm-private-inbox
+ ;; make sure primary inbox is private. 384 = octal 600
+ (condition-case () (set-file-modes buffer-file-name 384)
+ (error nil)))
(set-buffer-modified-p old-buffer-modified-p)
(kill-buffer crash-buf)
(condition-case () (delete-file vm-crash-box)
--- vm-vars.el.~1~ Sun Mar 1 23:50:11 1992
+++ vm-vars.el Thu Apr 23 09:20:49 1992
@@ -25,6 +25,10 @@
VM will do crash recovery from this file automatically at startup, as
necessary.")
+(defvar vm-private-inbox t
+ "*If non-nil, chmod the primary inbox to mode 600 so it's not
+world-readable.")
+
(defvar vm-spool-files
(or (and (setq vm-spool-files (getenv "MAILPATH"))
(setq vm-spool-files
--
Brendan Kehoe, Sun Network Manager brendan@cs.widener.edu
Widener University Chester, PA
Technical Details
Message-ID:
<199204231334.AA07249@lisa.cs.widener.edu>Path:
arc1-ca.pugleaf.net!sparky!uunet!wendy-fate.uu.net!bug-vmShow Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: f6829,ed7955ab06fd315f,start X-Google-Attributes: gidf6829,public X-Google-ArrivalTime: 1992-04-23 06:34:50 PST Newsgroups: gnu.emacs.vm.bug Sender: bug-vm-request@uunet.uu.net Date: Thu, 23 Apr 1992 09:34:50 -0400 From: Brendan Kehoe <brendan@cs.widener.edu> Message-ID: <199204231334.AA07249@lisa.cs.widener.edu> Subject: privacy of the primary inbox Reply-To: brendan@cs.widener.edu Path: arc1-ca.pugleaf.net!sparky!uunet!wendy-fate.uu.net!bug-vm Lines: 38