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

2003-01-29 Thread Igor Pechtchanski
On Wed, 29 Jan 2003, Harald Kierer wrote: > > Found the problem: I had a file named `rm': > > > > D:\acl62\src\cl\src>ls -l rm > > -rw-r--r--1 layerNone0 Jan 28 15:47 rm > > D:\acl62\src\cl\src>getfacl rm > > # file: rm > > # owner: layer > > # group: None > > user::rw- > > gro

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

2003-01-29 Thread Harald Kierer
> Found the problem: I had a file named `rm': > > D:\acl62\src\cl\src>ls -l rm > -rw-r--r--1 layerNone0 Jan 28 15:47 rm > D:\acl62\src\cl\src>getfacl rm > # file: rm > # owner: layer > # group: None > user::rw- > group::r-- > other:r-- > mask:rwx > > D:\acl62\src\cl\src> > >

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

2003-01-28 Thread Kevin Layer
Found the problem: I had a file named `rm': D:\acl62\src\cl\src>ls -l rm -rw-r--r--1 layerNone0 Jan 28 15:47 rm D:\acl62\src\cl\src>getfacl rm # file: rm # owner: layer # group: None user::rw- group::r-- other:r-- mask:rwx D:\acl62\src\cl\src> Now, it seems odd that `sh' (but

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

2003-01-28 Thread Christopher Faylor
On Tue, Jan 28, 2003 at 03:19:07PM -0800, Kevin Layer wrote: >Does anyone have any clue where I can look? This bug is killing me. The obvious observation would be that you have another non-cygwin version of rm in your Windows path. cgf -- Please use the resources at cygwin.com rather than sendin

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

2003-01-28 Thread Kevin Layer
An easier way of reproducing it: d:\acl62\src\cl\src>ls -l foo.out -rw-r--r--1 layerNone6 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 layerNone6 Jan 28 14:39 foo.out d:\

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

2003-01-28 Thread Kevin Layer
I'm on Windows 2000sp3. I've seen this bug before, but it disappeared. Now, it's back. I recently updated to cygwin 1.3.19. Nothing else on my system has changed in a really long time. I rebooted, and that didn't fix it. Here's bug2.sh: ls -l $2 echo "removing $2..." rm $2 ls -l $2 First, i

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

2003-01-28 Thread Kevin Layer
I just found a case of `rm' failing in a makefile. I added SHELL = bash and the rm worked. Looks like the same deal. This seems pretty broken. I'm really wondering if anyone else Note: I have CYGWIN defined as "nontsec". Also, I forgot to include a cygcheck: D:\acl62\src\cl>cygcheck -s -h