🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: gnu.emacs.bug
Article #99797

Misfeature in emacs

#99797
From: Torbjorn Granlund
Date: Thu, 03 May 1990 15:53
14 lines
1097 bytes
Emacs changes the permission bits (mode) of a file when writing to a
file that it thinks is write protected.

To repeat the bug:

1) Make a file "foo", and write protect it.
2) Visit the file in emacs.
3) Do cntrl-x cntrl-q to make the buffer writable.
4) Make some changes.
5) Outside of emacs, do "chmod +w foo".
6) Do cntrl-x cntrl-s to save the buffer, and answer yes on emacs' question.

Emacs will now undo the chmod command, making the file write protected
again.
Technical Details
Message-ID: <9005031554.AA02133@devi.sics.se>
Path: arc1-ca.pugleaf.net!gmdzi!unido!mcsun!uunet!bu.edu!snorkelwacker!think!sdd.hp.com!zaphod.mps.ohio-state.edu!tut.cis.ohio-state.edu!SICS.SE!tege

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: fb2f1,38e52e2c61b4434c,start
X-Google-Attributes: gidfb2f1,public
X-Google-ArrivalTime: 1990-05-03 09:53:26 PST
Path: arc1-ca.pugleaf.net!gmdzi!unido!mcsun!uunet!bu.edu!snorkelwacker!think!sdd.hp.com!zaphod.mps.ohio-state.edu!tut.cis.ohio-state.edu!SICS.SE!tege
From: tege@SICS.SE (Torbjorn Granlund)
Newsgroups: gnu.emacs.bug
Subject: Misfeature in emacs
Message-ID: <9005031554.AA02133@devi.sics.se>
Date: 3 May 90 15:53:58 GMT
Sender: daemon@tut.cis.ohio-state.edu
Distribution: gnu
Organization: GNUs Not Usenet
Lines: 14
Posted: Thu May  3 16:53:58 1990