Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com Date: Fri, 15 Nov 2002 17:37:16 +1100 (EST) From: luke DOT kendall AT cisra DOT canon DOT com DOT au Subject: Re: vi won't execute - symlink semantics changed? To: cygwin AT cygwin DOT com In-Reply-To: <20021108153325.I21920@cygbert.vinschen.de> MIME-Version: 1.0 Content-Type: TEXT/plain; CHARSET=US-ASCII Message-Id: <20021115063716.DBFEF340A1@nevin.research.canon.com.au> On 8 Nov, Corinna Vinschen wrote: > On Fri, Nov 08, 2002 at 04:16:41PM +1100, luke DOT kendall AT cisra DOT canon DOT com DOT au wrote: > > I updated my Cygwin installation to the latest version, yesterday. > > (That included the fresh bash-2.05-7 and binutils.) > > > > Since then, I can't run vi except by either specifying the full path > > /usr/bin/vi or using vim. In other words, the symlink from vi -> > > vim.exe does not get used. > > > > I also notice that if you do a test -x /usr/bin/vi that now fails; I > > believe it used to succeed. > > I checked both with 1.3.15-2 and can't reproduce it. Ah, I've found a partial answer. Although I installed Cygwin from my account (luke), some files appear to be owned by the sysadmin person who initially set the PC up (robs). He may also have done an install of the default Cygwin stuff. $ ls -l /usr/bin/vi* lrwxrwxrwx 1 robs Domain U 18 Jul 24 11:15 /usr/bin/vi -> vim.exe lrwxrwxrwx 1 robs Domain U 18 Jul 24 11:15 /usr/bin/view -> vim.exe -rwx------ 1 robs Domain U 858112 Apr 3 2002 /usr/bin/vim.exe lrwxrwxrwx 1 robs Domain U 18 Jul 24 11:15 /usr/bin/vimdiff -> vim.exe -rwx------ 1 robs Domain U 1068 Apr 3 2002 /usr/bin/vimtutor lrwxrwxrwx 1 luke Domain U 17 Oct 17 17:01 /usr/bin/virmf.exe -> mf.exe lrwxrwxrwx 1 luke Domain U 20 Oct 17 17:01 /usr/bin/virmpost.exe -> mpost.exe lrwxrwxrwx 1 luke Domain U 18 Oct 17 17:01 /usr/bin/virtex.exe -> tex.exe $ test -x /usr/bin/vi && echo yes So, why would these files be 700 mode? luke -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/