🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: gnu.emacs.bug
Article #99892

Auto-save uses wrong file protection

#99892
From: Kjartan Stefansson
Date: Mon, 26 Mar 1990 23:11
13 lines
1080 bytes
Emacs (GNU Emacs 18.54.5) creates auto-save files, using the users
default mode-mask.  I would find it more logical to use the protection
mask of the original file if it exists.

E.g. when I edit the protected file, memo, my directory has the files:

   1 -rw-r--r--  1 stefan        640 Mar 26 17:54 #memo#
   1 -rw-------  1 stefan        621 Mar 25 20:58 memo

It doesn't help much to have the protection here...
Perhaps there is a simple way around this?

Kjartan.
Technical Details
Message-ID: <39090@cornell.UUCP>
Path: arc1-ca.pugleaf.net!gmdzi!unido!mcsun!uunet!mailrus!cornell!stefan

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: fb2f1,bd9335400c4c3499,start
X-Google-Attributes: gidfb2f1,public
X-Google-ArrivalTime: 1990-03-26 15:11:33 PST
Path: arc1-ca.pugleaf.net!gmdzi!unido!mcsun!uunet!mailrus!cornell!stefan
From: stefan@skuld.cs.cornell.edu (Kjartan Stefansson)
Newsgroups: gnu.emacs.bug
Subject: Auto-save uses wrong file protection
Message-ID: <39090@cornell.UUCP>
Date: 26 Mar 90 23:11:33 GMT
Sender: nobody@cornell.UUCP
Reply-To: stefan@cs.cornell.edu (Kjartan Stefansson)
Organization: Cornell Univ. CS Dept, Ithaca NY
Lines: 13
Posted: Tue Mar 27 00:11:33 1990