Path: utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!tut.cis.ohio-state.edu!cs.utexas.edu!uunet!lll-winken!arisia!sgi!shinobu!odin!rudedog!bam From: bam@rudedog.sgi.com (Brian McClendon) Newsgroups: comp.emacs Subject: Re: UEmacs 3.10 Keywords: UEmacs, file permissions Message-ID: <1355@odin.SGI.COM> Date: 9 Nov 89 22:43:48 GMT References: <440@secola.Columbia.NCR.COM> <10322@j.cc.purdue.edu> Sender: news@odin.SGI.COM Organization: Silicon Graphics, Inc., Mountain View, CA Lines: 45 In article <10322@j.cc.purdue.edu> nwd@j.cc.purdue.edu (Daniel Lawrence) writes: >In article <440@secola.Columbia.NCR.COM> krupczak@secola.UUCP (Bobby Krupczak) writes: >>Hi! >> >>I am using Micro Emacs 3.10. I have noticed that 3.10 seems to ignore >>current file permissions and use my umask setting by default. Also >>when editing files owned by other users, the owner gets changed to >>me? Has anyone encountered similiar problems, and if so, is there >>a fix for 3.10 that I dont have? >> >>bobby > > Not so much a bug, as a feature...... actually it implements a new >saving algorithm which writes out a temp file, deletes the original, and >then renames the temp file. This prevents system crashes from >destroying the file. This behavior is controled by the $ssave variable >and can be turned off by setting it to FALSE. (One would add the >following to their .emacsrc file: > > set $ssave FALSE > Unfortunately, this doesn't solve the actual bug... which is that given a -r--r--r-- file, uemacs 3.10 writes the file anyway. It should check the permissions before even doing the mv. BTW, I have been trying to contact you (Daniel Lawrence) about other problems I'm having with 3.10, but so far no response by E-mail. One I remember off-hand is the use of entab/detab in a $readhook-ed macro seems to hose the file while just executing the macro works fine. Another is when editting a file w/ the cursor at the beginning of an existing line, hitting to insert one before the existing line is a no-op. This one is rare but I see it at least once a week. Are these known problems, have I screwed something up in the build, or have I discovered new ones? (I love uemacs and would die without the portability it offers, thanks for making it available to the world!) -------------------------------------------------------------------------- Brian McClendon bam@rudedog.SGI.COM ...!uunet!sgi!rudedog!bam 415-335-1110 "... Cornnuts ..." - Heather 1 --------------------------------------------------------------------------