🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: gnu.emacs.bug
Article #98679

VMS Bug in GNU EMACS 18.55

#98679
From: "David Guevara, 604-6196, M/S 21...
Date: Thu, 07 Mar 1991 21:46
28 lines
2099 bytes
Greetings --

	One of my users has encountered a rather disturbing bug in GNU
EMACS 18.55 running under VMS 5.3-1.  This bug can be duplicated, so it
seems that it is not an isolated incident.  The following is a description
of the problem.

	The user has set default to a directory with the following protections
set on it:  SYSTEM:READ+WRITE+EXECUTE+DELETE, OWNER:RWED, G:RE, W:RE.  She
belongs to the same UIC group as the directory's owner.  She opens a file
JUNK.GEN in EMACS.  The file has the following protection set, SYSTEM:RWED,
OWNER:RWED, GROUP:RWED, WORLD: <no access>.  To open the file in EMACS she
types <ctrl>-x <ctrl>-f JUNK.GEN.  EMACS opens the file and puts her in
fundamental mode.  She makes a change to the file, EMACS notes the change
by putting a ** in the status line.  Using <ctrl>-x <ctrl>-s to save the
file, the user receives the following message from EMACS:

	IO error writing DISK$FLIGHT:[SIM.CMD]JUNK.GEN

Please note that with the above stated directory protection, I would expect
her to get this error.  Unfortunately, the file JUNK.GEN has been trashed.
Originally the file had 69 blocks of data residing in it.  Now the file has
none (it is empty).  How does EMACS bypass the directory protection?  It
shouldn't have done anything to the file at all?  Your assistance in this
matter will be most appreciated.

	David Guevara,
	Internet:  guevara@fsdvx2.arc.nasa.gov
Technical Details
Message-ID: <9103072125.AA27126@gemini.arc.nasa.gov>
Path: arc1-ca.pugleaf.net!gmdzi!unido!mcsun!uunet!cs.utexas.edu!sdd.hp.com!zaphod.mps.ohio-state.edu!tut.cis.ohio-state.edu!unreplyable!garbage

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: fb2f1,a7c6894b0eba3ab,start
X-Google-Attributes: gidfb2f1,public
X-Google-ArrivalTime: 1991-03-07 13:46:07 PST
Path: arc1-ca.pugleaf.net!gmdzi!unido!mcsun!uunet!cs.utexas.edu!sdd.hp.com!zaphod.mps.ohio-state.edu!tut.cis.ohio-state.edu!unreplyable!garbage
From: guevara@FSDVX2.ARC.NASA.GOV ("David Guevara,  604-6196, M/S 211-2", 415)
Newsgroups: gnu.emacs.bug
Subject: VMS Bug in GNU EMACS 18.55
Message-ID: <9103072125.AA27126@gemini.arc.nasa.gov>
Date: 7 Mar 91 21:46:07 GMT
Sender: daemon@tut.cis.ohio-state.edu
Distribution: gnu
Organization: GNUs Not Usenet
Lines: 28
Approved: bug-gnu-emacs@prep.ai.mit.edu