home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #16 / NN_1992_16.iso / spool / comp / emacs / 2743 < prev    next >
Encoding:
Internet Message Format  |  1992-07-30  |  1.4 KB

  1. Path: sparky!uunet!mcsun!uknet!root44!hrc63!mrcu!uk.co.gec-mrc!mc
  2. From: mc@uk.co.gec-mrc (Mark J Colby)
  3. Newsgroups: comp.emacs
  4. Subject: Emacs auto-save file permissions problem
  5. Message-ID: <1871@crackle>
  6. Date: 30 Jul 92 13:32:14 GMT
  7. Sender: mc@uk.co.gec-mrc
  8. Reply-To: mc@uk.co.gec-mrc (Mark J Colby)
  9. Organization: GEC-Marconi Research Centre, Great Baddow, Essex
  10. Lines: 25
  11.  
  12.  
  13. I've been using emacs to edit my mail (either with xmail, or ~e within
  14. mail), and noticed something odd. Mail creates the file with access
  15. only to owner, but when emacs creates a temporary save file, it allows
  16. read access to group and world as well.
  17.  
  18. Basically, my emacs uses default file permissions for the auto-save
  19. file, not those of the file in the buffer. This seems bad for security
  20. (personal or otherwise) since temporary files sometimes get left
  21. around.
  22.  
  23. I checked the FAQ and emacs info briefly, but didn't find anything
  24. referring to file permissions like this. Is this a known problem?
  25. Rigging emacs not to auto-save when editing files in /tmp only solves
  26. the problem with mail, not in general; can something better be done?
  27.  
  28. FYI, it's emacs 18.55 on networked sun3/4s.
  29.  
  30. Ciao,
  31.  
  32. Mark.
  33. ---
  34. ... [the entire discworld sun] was, therefore, a           |   Mark J Colby
  35. faster-than-light particle, a tachyon, or as Didactylos    | mc@uk.co.gec-mrc
  36. put it, a bugger. [Terry Pratchet, Small Gods]             |+44 245 73331 x3215
  37.