Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , 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: <200301282247.h0SMltJ29857@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 14:47:55 -0800 From: 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 -r Cygwin Win95/NT Configuration Diagnostics Current System Time: Tue Jan 28 14:46:58 2003 Windows 2000 Professional Ver 5.0 Build 2195 Service Pack 3 Path: d:\acl62\src\cl\src c:\Perl\bin C:\ODI\OStore\bin . c:\bin C:\Cygwin\bin C:\Cygwin\usr\local\bin C:\WINNT\system32 C:\WINNT C:\WINNT\System32\Wbem C:\Program Files\Microsoft Visual Studio\Common\Tools\WinNT C:\Program Files\Microsoft Visual Studio\Common\MSDev98\Bin C:\Program Files\Microsoft Visual Studio\Common\Tools C:\Program Files\Microsoft Visual Studio\VC98\bin d:\openssl-0.9.6\out32dll C:\Program Files\Resource Kit\ c:\j2sdk1.4.1_01\bin SysDir: C:\WINNT\System32 WinDir: C:\WINNT Here's some environment variables that may affect cygwin: CYGWIN = `nontsec' HOME = `C:/' Scanning registry for keys with `Cygnus' in them... HKEY_CURRENT_USER\Software\Cygnus Solutions HKEY_CURRENT_USER\Software\Cygnus Solutions\Cygwin HKEY_CURRENT_USER\Software\Cygnus Solutions\Cygwin\mounts v2 HKEY_CURRENT_USER\Software\Cygnus Solutions\Cygwin\Program Options HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\Cygwin HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\Cygwin\mounts v2 (default) = `/cygdrive' cygdrive flags = 0x00000020 HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\Cygwin\mounts v2\/ (default) = `C:\cygwin' flags = 0x00000008 HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\Cygwin\mounts v2\/c (default) = `c:' flags = 0x0000000a HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\Cygwin\mounts v2\/d (default) = `d:' flags = 0x00000008 HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\Cygwin\mounts v2\/usr/bin (default) = `C:\cygwin/bin' flags = 0x00000008 HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\Cygwin\mounts v2\/usr/lib (default) = `C:\cygwin/lib' flags = 0x00000008 HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\Cygwin\mounts v2\/w (default) = `w:' flags = 0x0000010a HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\Cygwin\mounts v2\/x (default) = `x:' flags = 0x0000010a HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\Cygwin\mounts v2\/y (default) = `y:' flags = 0x0000010a HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\Cygwin\mounts v2\/z (default) = `z:' flags = 0x0000010a HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\Cygwin\Program Options Listing available drives... Drv Type Size Free Flags Name a: fd N/A N/A c: hd NTFS 8997Mb 61% CP CS UN PA FC hobart_c d: hd NTFS 30255Mb 27% CP CS UN PA FC hobart_d l: cd CDFS 0Mb -2147483548% CS Audio CD m: cd N/A N/A x: net NTFS 68980Mb 56% CP CS PA acl y: net NTFS 8408Mb 40% CP CS PA layer z: net NTFS 8350Mb 62% CP CS PA pc fd=floppy, hd=hard drive, cd=CD-ROM, net=Network Share CP=Case Preserving, CS=Case Sensitive, UN=Unicode PA=Persistent ACLS, FC=File Compression, VC=Volume Compression Mount entries: these map POSIX directories to your NT drives. -NT- -POSIX- -Type- -Flags- C:\cygwin / system textmode c: /c system binmode d: /d system textmode C:\cygwin/bin /usr/bin system textmode C:\cygwin/lib /usr/lib system textmode w: /w system binmode x: /x system binmode y: /y system binmode z: /z system binmode . /cygdrive user textmode,cygdrive Looking to see where common programs can be found, if at all... Found: C:\Cygwin\bin\bash.exe Found: C:\Cygwin\bin\cat.exe Found: C:\Cygwin\bin\cpp.exe Found: C:\Cygwin\bin\find.exe Found: C:\Cygwin\bin\gcc.exe Found: C:\Cygwin\bin\gdb.exe Found: C:\Cygwin\bin\ld.exe Found: C:\Cygwin\bin\ls.exe Found: C:\Cygwin\bin\make.exe Found: C:\Cygwin\bin\sh.exe Looking for various Cygnus DLLs... (-v gives version info) 58k 2002/05/07 C:\Cygwin\bin\cygbz2-1.dll 847k 2003/01/09 C:\Cygwin\bin\cygcrypto-0.9.7.dll 644k 2002/12/08 C:\Cygwin\bin\cygcrypto.dll 45k 2001/04/25 C:\Cygwin\bin\cygform5.dll 35k 2002/01/09 C:\Cygwin\bin\cygform6.dll 19k 2002/02/20 C:\Cygwin\bin\cyggdbm.dll 17k 2001/06/28 C:\Cygwin\bin\cyghistory4.dll 20k 2002/10/10 C:\Cygwin\bin\cyghistory5.dll 929k 2002/06/24 C:\Cygwin\bin\cygiconv-2.dll 22k 2001/12/13 C:\Cygwin\bin\cygintl-1.dll 28k 2002/09/20 C:\Cygwin\bin\cygintl-2.dll 119k 2002/02/09 C:\Cygwin\bin\cygjpeg6b.dll 26k 2001/04/25 C:\Cygwin\bin\cygmenu5.dll 20k 2002/01/09 C:\Cygwin\bin\cygmenu6.dll 156k 2001/04/25 C:\Cygwin\bin\cygncurses++5.dll 175k 2002/01/09 C:\Cygwin\bin\cygncurses++6.dll 226k 2001/04/25 C:\Cygwin\bin\cygncurses5.dll 202k 2002/01/09 C:\Cygwin\bin\cygncurses6.dll 15k 2001/04/25 C:\Cygwin\bin\cygpanel5.dll 12k 2002/01/09 C:\Cygwin\bin\cygpanel6.dll 40k 2001/11/21 C:\Cygwin\bin\cygpcre.dll 39k 2001/11/21 C:\Cygwin\bin\cygpcreposix.dll 170k 2002/01/21 C:\Cygwin\bin\cygpng2.dll 22k 2002/06/09 C:\Cygwin\bin\cygpopt-0.dll 108k 2001/06/28 C:\Cygwin\bin\cygreadline4.dll 127k 2002/10/10 C:\Cygwin\bin\cygreadline5.dll 177k 2003/01/09 C:\Cygwin\bin\cygssl-0.9.7.dll 165k 2002/12/08 C:\Cygwin\bin\cygssl.dll 253k 2002/02/10 C:\Cygwin\bin\cygtiff3.dll 41k 2002/01/20 C:\Cygwin\bin\cygXpm-noX4.dll 46k 2002/01/20 C:\Cygwin\bin\cygXpm-X4.dll 50k 2002/03/12 C:\Cygwin\bin\cygz.dll 885k 2003/01/24 C:\Cygwin\bin\cygwin1.dll Cygwin DLL version info: DLL version: 1.3.19 DLL epoch: 19 DLL bad signal mask: 19005 DLL old termios: 5 DLL malloc env: 28 API major: 0 API minor: 71 Shared data: 3 DLL identifier: cygwin1 Mount registry: 2 Cygnus registry name: Cygnus Solutions Cygwin registry name: Cygwin Program options name: Program Options Cygwin mount registry name: mounts v2 Cygdrive flags: cygdrive flags Cygdrive prefix: cygdrive prefix Cygdrive default prefix: Build date: Thu Jan 23 21:31:48 EST 2003 CVS tag: cygwin-1-3-19-1 Shared id: cygwin1S3 Cygwin Package Information Package Version _update-info-dir 00126-1 ash 20020731-1 autoconf 2.54-1 autoconf-devel 2.57-1 autoconf-stable 2.13-4 base-files 1.1-1 base-passwd 1.0-1 bash 2.05b-8 binutils 20021117-1 bison 1.75-1 byacc 1.9-1 bzip2 1.0.2-2 clear 1.0-1 crypt 1.0-1 ctags 5.2-1 cvs 1.11.0-1 cygrunsrv 0.95-1 cygutils 1.1.3-1 cygwin 1.3.19-1 diff 1.0-1 diffutils 2.8.1-1 file 3.37-1 fileutils 4.1-1 findutils 4.1.7-4 gawk 3.1.1-5 gcc 3.2-3 gcc-mingw 20020817-5 gcc2 2.95.3-10 gdb 20021218-1 gdbm 1.8.0-4 grep 2.5-1 groff 1.18.1-2 gzip 1.3.3-4 inetutils 1.3.2-20 jpeg 6b-7 less 378-1 libbz2_1 1.0.2-2 libiconv2 1.8-2 libintl1 0.10.40-1 libintl2 0.11.5-1 libncurses5 5.2-1 libncurses6 5.2-8 libpng2 1.0.12-1 libpopt0 1.6.4-4 libreadline4 4.1-2 libreadline5 4.3-2 login 1.7-1 m4 1.4-1 make 3.79.1-7 man 1.5j-1 mingw-runtime 2.3-1 mktemp 1.4-1 ncftp 3.1.4-1 ncurses 5.2-8 openssh 3.5p1-3 openssl 0.9.7-1 openssl-devel 0.9.7-1 openssl096 0.9.6h-1 patch 2.5.8-2 pcre 3.7-1 perl 5.6.1-2 readline 4.3-2 rsync 2.5.5-2 sed 4.0.5-1 sh-utils 2.0.15-3 tar 1.13.25-1 termcap 20020930-1 terminfo 5.2-3 texinfo 4.2-4 textutils 2.0.21-1 tiff 3.5.7-1 time 1.7-1 vim 6.1-2 w32api 2.1-1 wget 1.8.2-2 which 1.5-1 whois 4.6.1-1 xpm-nox 4.2.0-1 zip 2.3-2 zlib 1.1.4-1 D:\acl62\src\cl> -- 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/