Article View: comp.emacs
Article #8369Mode of autosave files
From: Eric C. Pearce
Date: Wed, 25 Jan 1989 15:42
Date: Wed, 25 Jan 1989 15:42
12 lines
848 bytes
848 bytes
Emacs 18.52 (running under Sun OS 3.5) sets the mode of the autosave files to the value derived from umask upon entry to emacs. Thus, if you are editing a file which is non publically readable, and your umask is set to a typical Unix value, your file, say "foo", is visible to everyone in the form of its autosave file #foo#. I would call this a bug and a security problem. Backfiles automatically receive the same mode as the original file. Autosave files should too. Does anyone know how this problem can be fixed?
Technical Details
Message-ID:
<15179@oddjob.UChicago.EDU>Path:
arc1-ca.pugleaf.net!utzoo!attcan!uunet!lll-winken!ames!ncar!tank!oddjob!pearceShow Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!attcan!uunet!lll-winken!ames!ncar!tank!oddjob!pearce From: pearce@oddjob.UChicago.EDU (Eric C. Pearce) Newsgroups: comp.emacs Subject: Mode of autosave files Message-ID: <15179@oddjob.UChicago.EDU> Date: 25 Jan 89 15:42:50 GMT Organization: U of Chicago - Astronomy & Astrophysics Lines: 12