delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2003/01/28/18:19:19

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
Message-Id: <200301282319.h0SNJ7c30405@crikeymail.franz.com>
To: cygwin AT cygwin DOT com
Subject: Re: sh/rm bug -- rm doesn't remove a file when run from cmd
Date: Tue, 28 Jan 2003 15:19:07 -0800
From: Kevin Layer <layer AT franz DOT com>
Note-from-DJ: This may be spam

An easier way of reproducing it:

    d:\acl62\src\cl\src>ls -l foo.out
    -rw-r--r--    1 layer    None            6 Jan 28 14:39 foo.out

    d:\acl62\src\cl\src>sh -c 'rm foo.out'

    d:\acl62\src\cl\src>ls -l foo.out
    -rw-r--r--    1 layer    None            6 Jan 28 14:39 foo.out

    d:\acl62\src\cl\src>rm foo.out

    d:\acl62\src\cl\src>ls -l foo.out
    ls: foo.out: No such file or directory

    d:\acl62\src\cl\src>which rm
    /usr/bin/rm

    d:\acl62\src\cl\src>

I uninstalled my virus scanner (Norton 2002), thinking it might be the
cause.  No change.

I tried another machine that has the same versions of all the cygwin
programs as my machine.  The bug does _not_ happen there.

Does anyone have any clue where I can look?  This bug is killing me.

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