Re: rm -r removes directory but reports "cannot remove 'dir', directory not empty"

2010-09-11 Thread Corinna Vinschen
On Sep 10 23:32, Saurabh T wrote: > > > What is that I: drive? What does `mount' print as filesystem type of > > /cygdrive/i, and what does `/usr/lib/csih/getVolInfo /cygdrive/i' > > print(*)? I assume I: is not Samba, right? > > Corinna > > mount shows: > I: on /cygdrive/i type cifs (binary,po

Re: rm -r removes directory but reports "cannot remove 'dir', directory not empty"

2010-09-10 Thread Saurabh T
> What is that I: drive? What does `mount' print as filesystem type of > /cygdrive/i, and what does `/usr/lib/csih/getVolInfo /cygdrive/i' > print(*)? I assume I: is not Samba, right? > Corinna mount shows: I: on /cygdrive/i type cifs (binary,posix=0,user,noumount,auto) compared to C: on /cygdr

Re: rm -r removes directory but reports "cannot remove 'dir', directory not empty"

2010-09-10 Thread Corinna Vinschen
On Sep 10 19:04, Saurabh T wrote: > > This is with the latest cygwin and coreutils 8.5-2. > > Good: > > mkdir 1; echo $? > 0 > > rm -fr 1; echo $? > 0 > > ls 1 > ls: cannot access 1: No such file or directory > > Bad: > > mkdir 1; echo $? > 0 > > rm -fr 1; echo $? > rm: cannot remove '1': Direct