Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT sources DOT redhat DOT com Delivered-To: mailing list cygwin AT sources DOT redhat DOT com Date: Sun, 8 Jul 2001 19:47:40 +0200 From: Corinna Vinschen To: cygwin AT cygwin DOT com Subject: Re: Undead hard link Message-ID: <20010708194740.E8578@cygbert.vinschen.de> Mail-Followup-To: cygwin AT cygwin DOT com References: <000101c10702$a40dee70$0800a8c0 AT TheLoveShack DOT local> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <000101c10702$a40dee70$0800a8c0@TheLoveShack.local>; from baggend@howlermonkey.net on Sat, Jul 07, 2001 at 11:34:00AM -0500 On Sat, Jul 07, 2001 at 11:34:00AM -0500, Alex Malinovich wrote: > I inadvertantly made a hard link to emacs about an hour ago, and now it > refuses to die. ln -f doesn't work, rm doesn't work, windows delete > doesn't work. And there's no unlink anywhere in sight. I'm running > cygwin under W2K on an NTFS partition. I had thought that the problem > might be the file access settings, but access rights (under cygwin) are > showing up as rwx for owner which would be me. Windows permissions list > rwx for "Everyone". The link is named "edit" and it points to > "/bin/emacs-20.7/bin/emacs.exe". I've tried: > > rm edit > rm: cannot unlink `emacs.exe': Permission denied > > ln -f /bin/emacs-20.7/bin/emacs.exe edit > rm: cannot unlink `emacs.exe': Permission denied Is an emacs process running while you're trying to remove the link? That's a problem in Windows. Stop emacs and try again. Corinna -- Corinna Vinschen Please, send mails regarding Cygwin to Cygwin Developer mailto:cygwin AT cygwin DOT com Red Hat, Inc. -- 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/