home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #18 / NN_1992_18.iso / spool / gnu / emacs / bug / 1182 < prev    next >
Encoding:
Text File  |  1992-08-12  |  1.5 KB  |  41 lines

  1. Newsgroups: gnu.emacs.bug
  2. Path: sparky!uunet!cis.ohio-state.edu!cs.HUt.FI!jkp
  3. From: jkp@cs.HUt.FI (Jyrki Kuoppala)
  4. Subject: Emacs 18.58, mode of ~/.newmail and some other mail files
  5. Message-ID: <199208112129.AA23707@laphroaig.cs.hut.fi>
  6. Sender: gnulists@ai.mit.edu
  7. Organization: Helsinki University of Technology, Finland.
  8. Distribution: gnu
  9. Date: Wed, 12 Aug 1992 03:29:28 GMT
  10. Approved: bug-gnu-emacs@prep.ai.mit.edu
  11. Lines: 28
  12.  
  13. Emacs 18.58 rmail uses the default mode by `umask' to write the file
  14. ~/.newmail when transferring mail from the spool file to the user's
  15. RMAIL file.  It would seem that a better guess at how the user wants
  16. her email file modes to be would be to look at the spool file or RMAIL
  17. file modes.
  18.  
  19. The mode for the autosave of the *mail* buffer also appears to be just
  20. from the umask - perhaps this mode could also be copied from the RMAIL
  21. or spool file.  Same seems to hold for the file %backup%~.
  22.  
  23. A related possible problem: when emacs is adding to the RMAIL file,
  24. the file RMAIL is readable to all:
  25.  
  26. jkp@laphroaig '~' 394: L RMAIL
  27. -rw-------   1 jkp      other     1908372 Aug 11 23:26 RMAIL
  28. jkp@laphroaig '~' 397: : > RMAIL 
  29. jkp@laphroaig '~' 398: L .newmail 
  30. -rw-r--r--   1 jkp      other        3336 Aug 12 00:18 .newmail
  31. jkp@laphroaig '~' 399: rm .newmail 
  32. rm: remove `.newmail'? y
  33. jkp@laphroaig '~' 400: 
  34. jkp@laphroaig '~' 400: 
  35. jkp@laphroaig '~' 400: L RMAIL  (at this time emacs is in the process
  36.                                  of writing to the RMAIL file)
  37. -rw-r--r--   1 jkp      other     1670444 Aug 12  1992 RMAIL
  38.  
  39. //Jyrki
  40.  
  41.