delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2001/07/08/13:54:31

Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT sources DOT redhat DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT sources DOT redhat DOT com>
List-Help: <mailto:cygwin-help AT sources DOT redhat DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner AT sources DOT redhat DOT com
Delivered-To: mailing list cygwin AT sources DOT redhat DOT com
From: "Alex Malinovich" <baggend AT howlermonkey DOT net>
To: "'Corinna Vinschen'" <cygwin AT cygwin DOT com>
Subject: RE: Undead hard link
Date: Sun, 8 Jul 2001 12:47:54 -0500
Message-ID: <000401c107d6$1e385a90$0800a8c0@TheLoveShack.local>
MIME-Version: 1.0
X-Priority: 3 (Normal)
X-MSMail-Priority: Normal
X-Mailer: Microsoft Outlook, Build 10.0.2616
In-reply-to: <20010708194740.E8578@cygbert.vinschen.de>
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2462.0000
Importance: Normal

Here's my screen output:

---------------------------------------------------------------------
Administrator AT THIEF /lib
$ ps
      PID    PPID    PGID     WINPID  TTY  UID    STIME COMMAND
     1836       1    1836       1836  con  500 12:43:41 /usr/bin/bash
     2448    1836    2448       2332  con  500 12:44:27 /usr/bin/ps

Administrator AT THIEF /lib
$ rm edit
rm: cannot unlink `edit': Permission denied

Administrator AT THIEF /lib
$
---------------------------------------------------------------------

I have no other relevant windows processes running.

-Alex

-----Original Message-----
From: cygwin-owner AT sources DOT redhat DOT com
[mailto:cygwin-owner AT sources DOT redhat DOT com] On Behalf Of Corinna Vinschen
Sent: Sunday, July 08, 2001 12:48 PM
To: cygwin AT cygwin DOT com
Subject: Re: Undead hard link


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/



--
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/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019