X-Recipient: archive-cygwin AT delorie DOT com X-SWARE-Spam-Status: No, hits=2.0 required=5.0 tests=AWL,BAYES_50,SPF_PASS,UNPARSEABLE_RELAY X-Spam-Check-By: sourceware.org X-UOL-TAGLINE: true X-UNTD-OriginStamp: AlPQJe/1hjgMgVEOpAGAvHwDLYOO8qxuJiNMYO4wqaPgGACmkD3pdA== Mime-Version: 1.0 From: "david_c_hurt AT juno DOT com" Date: Thu, 9 Jul 2009 22:21:49 GMT To: cygwin AT cygwin DOT com Subject: openssh 5.1p1-10 : Rename file fails on Windows XP Message-Id: <20090709.172149.11631.1@webmail05.vgs.untd.com> Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Content-Type: text/plain; charset=ISO-8859-1 X-ContentStamp: 92:46:1518487455 Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Id: 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 Hello,=20 I am having a problem renaming any files on Windows XP. I am connecting th= rough openssh 1.5.25-15 Simplest re-occurrence. (On the local machine) C:\> touch file1 C:\> copy file1 file2 1 file(s) copied. (Through an SSH session) -bash-3.2$ mv file1 file3 mv: cannot move 'file1' to 'file3': Permission denied. When I tried the same command using strace, everything seems to be good unt= il the rename command which fails. I looked in google and the cygwin mailing list, but didn't see anything spe= cifically related. Is there a better search term to use? Where do I start troubleshooting her= e? Cygcheck output follows: -bash-3.2$ cygcheck -s -v -r Cygwin Configuration Diagnostics Current System Time: Thu Jul 09 17:11:21 2009 Windows XP Professional Ver 5.1 Build 2600 Service Pack 3 Path: c:\Perl\bin c:\WINDOWS\system32 c:\WINDOWS c:\WINDOWS\System32\Wbem c:\Program Files\Personal Communications\ c:\Program Files\IBM\Trace Facility\ c:\PROGRA~1\HUMMIN~1\Utility c:\Program Files\ATI Technologies\ATI.ACE C:\cygwin\bin C:\cygwin\bin Output from C:\cygwin\bin\id.exe (nontsec) UID: 500(Administrator) GID: 513(None) 513(None) 545(Users) Output from C:\cygwin\bin\id.exe (ntsec) UID: 500(Administrator) GID: 513(None) 513(None) 545(Users) SysDir: C:\WINDOWS\system32 WinDir: C:\WINDOWS USER =3D 'Administrator' PWD =3D '/usr/bin' CYGWIN =3D 'ntsec' HOME =3D '/home/Administrator' HOMEPATH =3D '\cygwin\home\Administrator' TERM =3D 'xterm' SHELL =3D '/bin/bash' PROCESSOR_IDENTIFIER =3D 'x86 Family 6 Model 23 Stepping 6, GenuineIntel' WINDIR =3D 'C:\WINDOWS' SSH_CLIENT =3D '170.49.169.49 2638 22' USERDOMAIN =3D 'NT AUTHORITY' SSH_TTY =3D '/dev/tty0' OS =3D 'Windows_NT' ALLUSERSPROFILE =3D 'C:\Documents and Settings\All Users' TEMP =3D '/cygdrive/c/WINDOWS/TEMP' COMMONPROGRAMFILES =3D 'C:\Program Files\Common Files' USERNAME =3D 'SYSTEM' PROCESSOR_LEVEL =3D '6' MAIL =3D '/var/spool/mail/Administrator' SYSTEMDRIVE =3D 'C:' PROCESSOR_ARCHITECTURE =3D 'x86' SHLVL =3D '1' PATHEXT =3D '.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH' HOMEDRIVE =3D 'C:' COMSPEC =3D 'C:\WINDOWS\system32\cmd.exe' LOGNAME =3D 'Administrator' TMP =3D '/cygdrive/c/WINDOWS/TEMP' SYSTEMROOT =3D 'C:\WINDOWS' PROCESSOR_REVISION =3D '1706' SSH_CONNECTION =3D '170.49.169.49 2638 170.49.169.42 22' PROGRAMFILES =3D 'C:\Program Files' NUMBER_OF_PROCESSORS =3D '2' COMPUTERNAME =3D 'P0D290B' OLDPWD =3D '/cygdrive/c/corp/apps/cad' _ =3D '/usr/bin/cygcheck' 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) =3D '/cygdrive' cygdrive flags =3D 0x00000022 HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\Cygwin\mounts v2\/ (default) =3D 'C:\cygwin' flags =3D 0x0000000a HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\Cygwin\mounts v2\/usr/bin (default) =3D 'C:\cygwin/bin' flags =3D 0x0000000a HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\Cygwin\mounts v2\/usr/lib (default) =3D 'C:\cygwin/lib' flags =3D 0x0000000a HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\Cygwin\Program Options c: hd NTFS 80019Mb 12% CP CS UN PA FC d: hd NTFS 72567Mb 3% CP CS UN PA FC Data e: cd N/A N/A C:\cygwin / system binmode C:\cygwin/bin /usr/bin system binmode C:\cygwin/lib /usr/lib system binmode . /cygdrive system binmode,cygdrive Not Found: awk Not Found: bash Not Found: cat Not Found: cp Not Found: cpp (good!) Not Found: crontab Not Found: find Not Found: gcc Not Found: gdb Not Found: grep Not Found: kill Not Found: ld Not Found: ls Not Found: make Not Found: mv Not Found: patch Found: c:\Perl\bin\perl.exe Not Found: rm Not Found: sed Not Found: ssh Not Found: sh Not Found: tar Not Found: test Not Found: vi Not Found: vim 7k 2003/10/19 C:\cygwin\bin\cygcrypt-0.dll - os=3D4.0 img=3D1.0 sys=3D4= .0 "cygcrypt-0.dll" v0.0 ts=3D2003/10/19 2:57 1075k 2009/03/25 C:\cygwin\bin\cygcrypto-0.9.8.dll - os=3D4.0 img=3D1.0 sy= s=3D4.0 "cygcrypto-0.9.8.dll" v0.0 ts=3D2009/3/25 12:21 40k 2009/03/01 C:\cygwin\bin\cygform-8.dll - os=3D4.0 img=3D1.0 sys=3D4.0 "cygform-8.dll" v0.0 ts=3D2009/2/28 20:40 24k 2008/11/29 C:\cygwin\bin\cyghistory6.dll - os=3D4.0 img=3D1.0 sys=3D= 4.0 "cyghistory6.dll" v0.0 ts=3D2008/11/29 8:30 982k 2009/05/30 C:\cygwin\bin\cygiconv-2.dll - os=3D4.0 img=3D1.0 sys=3D4= .0 "cygiconv-2.dll" v0.0 ts=3D2009/5/30 13:38 37k 2003/08/10 C:\cygwin\bin\cygintl-2.dll - os=3D4.0 img=3D1.0 sys=3D4.0 "cygintl-2.dll" v0.0 ts=3D2003/8/10 16:50 31k 2005/11/20 C:\cygwin\bin\cygintl-3.dll - os=3D4.0 img=3D1.0 sys=3D4.0 "cygintl-3.dll" v0.0 ts=3D2005/11/19 20:04 31k 2009/06/07 C:\cygwin\bin\cygintl-8.dll - os=3D4.0 img=3D1.0 sys=3D4.0 "cygintl-8.dll" v0.0 ts=3D2009/6/7 16:42 21k 2009/03/01 C:\cygwin\bin\cygmenu-8.dll - os=3D4.0 img=3D1.0 sys=3D4.0 /usr/bin/cygrunsrv: warning: OpenService failed for 'TapiSrv': = Win32 error 5 Access is denied. "cygmenu-8.dll" v0.0 ts=3D2009/2/28 20:38 24k 2008/10/30 C:\cygwin\bin\cygminires.dll - os=3D4.0 img=3D1.2 sys=3D4= .0 "cygminires.dll" v0.0 ts=3D2008/10/30 18:53 66k 2009/03/01 C:\cygwin\bin\cygncurses++-8.dll - os=3D4.0 img=3D1.0 sys= =3D4.0 "cygncurses++-8.dll" v0.0 ts=3D2009/2/28 20:50 237k 2009/03/01 C:\cygwin\bin\cygncurses-8.dll - os=3D4.0 img=3D1.0 sys= =3D4.0 "cygncurses-8.dll" v0.0 ts=3D2009/2/28 20:36 11k 2009/03/01 C:\cygwin\bin\cygpanel-8.dll - os=3D4.0 img=3D1.0 sys=3D4= .0 "cygpanel-8.dll" v0.0 ts=3D2009/2/28 20:38 181k 2008/09/07 C:\cygwin\bin\cygpcre-0.dll - os=3D4.0 img=3D1.0 sys=3D4.0 "cygpcre-0.dll" v0.0 ts=3D2008/9/6 22:36 302k 2008/09/07 C:\cygwin\bin\cygpcrecpp-0.dll - os=3D4.0 img=3D1.0 sys= =3D4.0 "cygpcrecpp-0.dll" v0.0 ts=3D2008/9/6 22:36 7k 2008/09/07 C:\cygwin\bin\cygpcreposix-0.dll - os=3D4.0 img=3D1.0 sys= =3D4.0 "cygpcreposix-0.dll" v0.0 ts=3D2008/9/6 22:36 155k 2008/11/29 C:\cygwin\bin\cygreadline6.dll - os=3D4.0 img=3D1.0 sys= =3D4.0 "cygreadline6.dll" v0.0 ts=3D2008/11/29 8:30 232k 2009/03/25 C:\cygwin\bin\cygssl-0.9.8.dll - os=3D4.0 img=3D1.0 sys= =3D4.0 "cygssl-0.9.8.dll" v0.0 ts=3D2009/3/25 12:22 22k 2009/03/29 C:\cygwin\bin\cygwrap-0.dll - os=3D4.0 img=3D1.0 sys=3D4.0 "cygwrap-0.dll" v0.0 ts=3D2009/3/29 1:09 65k 2009/03/02 C:\cygwin\bin\cygz.dll - os=3D4.0 img=3D1.0 sys=3D4.0 "cygz.dll" v0.0 ts=3D2009/3/1 19:19 1829k 2008/06/12 C:\cygwin\bin\cygwin1.dll - os=3D4.0 img=3D1.0 sys=3D4.0 "cygwin1.dll" v0.0 ts=3D2008/6/12 12:35 Cygwin DLL version info: DLL version: 1.5.25 DLL epoch: 19 DLL bad signal mask: 19005 DLL old termios: 5 DLL malloc env: 28 API major: 0 API minor: 156 Shared data: 4 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 Jun 12 19:34:46 CEST 2008 CVS tag: cr-0x5f1 Shared id: cygwin1S4 Service : sshd Display name : CYGWIN sshd Current State : Running Controls Accepted : Stop Command : /usr/sbin/sshd -D stdin path : /dev/null stdout path : /var/log/sshd.log stderr path : /var/log/sshd.log Environment : CYGWIN=3D"ntsec" Process Type : Own Process Startup : Automatic Dependencies : tcpip Account : LocalSystem Cygwin Package Information Last downloaded files to: C:\Cygwin\Packages Last downloaded files from: http://mirrors.xmission.com/cygwin/ Package Version _update-info-dir 00824-1 bash 3.2.48-21 coreutils 6.10-2 crypt 1.1-1 csih 0.2.0-1 cygrunsrv 1.34-1 cygwin 1.5.25-15 diffutils 2.8.7-1 editrights 1.01-2 gawk 3.1.6-1 grep 2.5.3-1 libiconv2 1.13-1 libintl2 0.12.1-3 libintl3 0.14.5-1 libintl8 0.17-4 libncurses8 5.5-4 libpcre0 7.8-1 libreadline6 5.2.13-11 libwrap0 7.6-6 minires 1.02-1 openssh 5.1p1-10 openssl 0.9.8k-1 sed 4.1.5-2 terminfo0 5.5_20061104-2 texinfo 4.13-3 tzcode 2008h-1 zlib 1.2.3-3 zlib-devel 1.2.3-3 zlib0 1.2.3-3 ____________________________________________________________ Explore Africa with a luxurious safari vacation. Click now! http://thirdpartyoffers.juno.com/TGL2131/fc/BLSrjnsLP7cRgXAgtKwBlGDrW0zPP5p= cIw8xvfbCn76kIQrgM6KVq1ax28o/ -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple