home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: gnu.emacs.bug
- Path: sparky!uunet!cis.ohio-state.edu!cs.HUt.FI!jkp
- From: jkp@cs.HUt.FI (Jyrki Kuoppala)
- Subject: Emacs 18.58, mode of ~/.newmail and some other mail files
- Message-ID: <199208112129.AA23707@laphroaig.cs.hut.fi>
- Sender: gnulists@ai.mit.edu
- Organization: Helsinki University of Technology, Finland.
- Distribution: gnu
- Date: Wed, 12 Aug 1992 03:29:28 GMT
- Approved: bug-gnu-emacs@prep.ai.mit.edu
- Lines: 28
-
- Emacs 18.58 rmail uses the default mode by `umask' to write the file
- ~/.newmail when transferring mail from the spool file to the user's
- RMAIL file. It would seem that a better guess at how the user wants
- her email file modes to be would be to look at the spool file or RMAIL
- file modes.
-
- The mode for the autosave of the *mail* buffer also appears to be just
- from the umask - perhaps this mode could also be copied from the RMAIL
- or spool file. Same seems to hold for the file %backup%~.
-
- A related possible problem: when emacs is adding to the RMAIL file,
- the file RMAIL is readable to all:
-
- jkp@laphroaig '~' 394: L RMAIL
- -rw------- 1 jkp other 1908372 Aug 11 23:26 RMAIL
- jkp@laphroaig '~' 397: : > RMAIL
- jkp@laphroaig '~' 398: L .newmail
- -rw-r--r-- 1 jkp other 3336 Aug 12 00:18 .newmail
- jkp@laphroaig '~' 399: rm .newmail
- rm: remove `.newmail'? y
- jkp@laphroaig '~' 400:
- jkp@laphroaig '~' 400:
- jkp@laphroaig '~' 400: L RMAIL (at this time emacs is in the process
- of writing to the RMAIL file)
- -rw-r--r-- 1 jkp other 1670444 Aug 12 1992 RMAIL
-
- //Jyrki
-
-