Article View: gnu.emacs.bug
Article #99497Re: File locking doesn't work with symbolic links
From: Joe Wells
Date: Mon, 03 Sep 1990 00:34
Date: Mon, 03 Sep 1990 00:34
15 lines
1440 bytes
1440 bytes
In article <KWOOD.90Aug27011713@bigpig.austek.oz.au> kwood@austek.oz.au (Ken Wood) writes: If you use find-file on a symbolic link to a file and then modify the buffer, emacs will lock the link itself instead of the linked-to file. Thus it's possible to overwrite another persons modifications if one of you is using a symbolic link. I developed a fix for this that makes Emacs always remove any symbolic links from the pathnames it uses. Thus, file locking is always done via a canonical pathname. If you need this, send me mail asking for "symlink-fix.el". I would post it again now, but I've been modifying it and the modifications aren't tested thoroughly. -- Joe Wells <jbw@bu.edu>
Technical Details
Message-ID:
<JBW.90Sep2203402@bucsf.bu.edu>Path:
arc1-ca.pugleaf.net!gmdzi!unido!mcsun!uunet!samsung!zaphod.mps.ohio-state.edu!rpi!bu.edu!nntp-read!jbwReferences:
<KWOOD.90Aug27011713@bigpig.austek.oz.au>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fb2f1,4d283753a16b388a,start X-Google-Attributes: gidfb2f1,public X-Google-ArrivalTime: 1990-09-02 22:16:48 PST Path: arc1-ca.pugleaf.net!gmdzi!unido!mcsun!uunet!samsung!zaphod.mps.ohio-state.edu!rpi!bu.edu!nntp-read!jbw From: jbw@bucsf.bu.edu (Joe Wells) Newsgroups: gnu.emacs.bug Subject: Re: File locking doesn't work with symbolic links Message-ID: <JBW.90Sep2203402@bucsf.bu.edu> Date: 3 Sep 90 00:34:02 GMT References: <KWOOD.90Aug27011713@bigpig.austek.oz.au> Sender: news@bu.edu.bu.edu Organization: Boston University Computer Science Department Lines: 15 Posted: Mon Sep 3 01:34:02 1990 In-reply-to: kwood@austek.oz.au's message of 26 Aug 90 15:47:13 GMT