Article View: gnu.emacs.bug
Article #98401Permissions for auto-save files
From: David Grabiner
Date: Wed, 31 Jul 1991 20:16
Date: Wed, 31 Jul 1991 20:16
19 lines
1608 bytes
1608 bytes
My umask setting is 022, which is the usual default. When I edit a file whose permissions are set to 600 (read and write access for me alone), the auto-save file has permission 644. This is not correct; if I have set the permissions to 600 to prevent other people from reading the file, I don't want to leave a publicly readable auto-save file lying around. When an auto-save file is created, its permissions should be the same as those of the visited file, possibly modified by the umask. An auto-save file for a buffer not visiting a file (such as *mail*) should probably have permissions 600, so that you don't have to turn off auto-save or change your umask to send a confidential Email message. I am using Emacs 18.57.3 on a SUN 4. David Grabiner, grabiner@zariski.harvard.edu "We are sorry, but the number you have dialed is imaginary." "Please rotate your phone 90 degrees and try again." Disclaimer: I speak for no one and no one speaks for me.
Technical Details
Message-ID:
<9107312016.AA13515@zariski.harvard.edu>Path:
arc1-ca.pugleaf.net!gmdzi!unido!mcsun!uunet!cis.ohio-state.edu!zariski.harvard.edu!grabinerShow Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fb2f1,6c9cae671ff6c52b,start X-Google-Attributes: gidfb2f1,public X-Google-ArrivalTime: 1991-07-31 13:16:06 PST Path: arc1-ca.pugleaf.net!gmdzi!unido!mcsun!uunet!cis.ohio-state.edu!zariski.harvard.edu!grabiner From: grabiner@zariski.harvard.edu (David Grabiner) Newsgroups: gnu.emacs.bug Subject: Permissions for auto-save files Message-ID: <9107312016.AA13515@zariski.harvard.edu> Date: 31 Jul 91 20:16:06 GMT Sender: gnulists@ai.mit.edu Reply-To: grabiner@zariski.harvard.edu Distribution: gnu Organization: GNUs Not Usenet Lines: 19 Approved: bug-gnu-emacs@prep.ai.mit.edu