This is the mail archive of the cygwin@cygwin.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: sh/rm bug -- rm doesn't remove a file when run from cmd


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/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]