openssh 5.1p1-10 : Rename file fails on Windows XP

david_c_hurt@juno.com david_c_hurt@juno.com
Thu Jul 9 23:18:00 GMT 2009


Hello, 
I am having a problem renaming any files on Windows XP. I am connecting through 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 until the rename command which fails.
I looked in google and the cygwin mailing list, but didn't see anything specifically related.
Is there a better search term to use? Where do I start troubleshooting here?
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 = 'Administrator'
PWD = '/usr/bin'
CYGWIN = 'ntsec'
HOME = '/home/Administrator'
HOMEPATH = '\cygwin\home\Administrator'
TERM = 'xterm'
SHELL = '/bin/bash'
PROCESSOR_IDENTIFIER = 'x86 Family 6 Model 23 Stepping 6, GenuineIntel'
WINDIR = 'C:\WINDOWS'
SSH_CLIENT = '170.49.169.49 2638 22'
USERDOMAIN = 'NT AUTHORITY'
SSH_TTY = '/dev/tty0'
OS = 'Windows_NT'
ALLUSERSPROFILE = 'C:\Documents and Settings\All Users'
TEMP = '/cygdrive/c/WINDOWS/TEMP'
COMMONPROGRAMFILES = 'C:\Program Files\Common Files'
USERNAME = 'SYSTEM'
PROCESSOR_LEVEL = '6'
MAIL = '/var/spool/mail/Administrator'
SYSTEMDRIVE = 'C:'
PROCESSOR_ARCHITECTURE = 'x86'
SHLVL = '1'
PATHEXT = '.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH'
HOMEDRIVE = 'C:'
COMSPEC = 'C:\WINDOWS\system32\cmd.exe'
LOGNAME = 'Administrator'
TMP = '/cygdrive/c/WINDOWS/TEMP'
SYSTEMROOT = 'C:\WINDOWS'
PROCESSOR_REVISION = '1706'
SSH_CONNECTION = '170.49.169.49 2638 170.49.169.42 22'
PROGRAMFILES = 'C:\Program Files'
NUMBER_OF_PROCESSORS = '2'
COMPUTERNAME = 'P0D290B'
OLDPWD = '/cygdrive/c/corp/apps/cad'
_ = '/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) = '/cygdrive'
 cygdrive flags = 0x00000022
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\Cygwin\mounts v2\/
 (default) = 'C:\cygwin'
 flags = 0x0000000a
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\Cygwin\mounts v2\/usr/bin
 (default) = 'C:\cygwin/bin'
 flags = 0x0000000a
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\Cygwin\mounts v2\/usr/lib
 (default) = 'C:\cygwin/lib'
 flags = 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=4.0 img=1.0 sys=4.0
 "cygcrypt-0.dll" v0.0 ts=2003年10月19日 2:57
 1075k 2009年03月25日 C:\cygwin\bin\cygcrypto-0.9.8.dll - os=4.0 img=1.0 sys=4.0
 "cygcrypto-0.9.8.dll" v0.0 ts=2009年3月25日 12:21
 40k 2009年03月01日 C:\cygwin\bin\cygform-8.dll - os=4.0 img=1.0 sys=4.0
 "cygform-8.dll" v0.0 ts=2009年2月28日 20:40
 24k 2008年11月29日 C:\cygwin\bin\cyghistory6.dll - os=4.0 img=1.0 sys=4.0
 "cyghistory6.dll" v0.0 ts=2008年11月29日 8:30
 982k 2009年05月30日 C:\cygwin\bin\cygiconv-2.dll - os=4.0 img=1.0 sys=4.0
 "cygiconv-2.dll" v0.0 ts=2009年5月30日 13:38
 37k 2003年08月10日 C:\cygwin\bin\cygintl-2.dll - os=4.0 img=1.0 sys=4.0
 "cygintl-2.dll" v0.0 ts=2003年8月10日 16:50
 31k 2005年11月20日 C:\cygwin\bin\cygintl-3.dll - os=4.0 img=1.0 sys=4.0
 "cygintl-3.dll" v0.0 ts=2005年11月19日 20:04
 31k 2009年06月07日 C:\cygwin\bin\cygintl-8.dll - os=4.0 img=1.0 sys=4.0
 "cygintl-8.dll" v0.0 ts=2009年6月7日 16:42
 21k 2009年03月01日 C:\cygwin\bin\cygmenu-8.dll - os=4.0 img=1.0 sys=4.0
 /usr/bin/cygrunsrv: warning: OpenService failed for 'TapiSrv': Win32 error 5
Access is denied.
 "cygmenu-8.dll" v0.0 ts=2009年2月28日 20:38
 24k 2008年10月30日 C:\cygwin\bin\cygminires.dll - os=4.0 img=1.2 sys=4.0
 "cygminires.dll" v0.0 ts=2008年10月30日 18:53
 66k 2009年03月01日 C:\cygwin\bin\cygncurses++-8.dll - os=4.0 img=1.0 sys=4.0
 "cygncurses++-8.dll" v0.0 ts=2009年2月28日 20:50
 237k 2009年03月01日 C:\cygwin\bin\cygncurses-8.dll - os=4.0 img=1.0 sys=4.0
 "cygncurses-8.dll" v0.0 ts=2009年2月28日 20:36
 11k 2009年03月01日 C:\cygwin\bin\cygpanel-8.dll - os=4.0 img=1.0 sys=4.0
 "cygpanel-8.dll" v0.0 ts=2009年2月28日 20:38
 181k 2008年09月07日 C:\cygwin\bin\cygpcre-0.dll - os=4.0 img=1.0 sys=4.0
 "cygpcre-0.dll" v0.0 ts=2008年9月6日 22:36
 302k 2008年09月07日 C:\cygwin\bin\cygpcrecpp-0.dll - os=4.0 img=1.0 sys=4.0
 "cygpcrecpp-0.dll" v0.0 ts=2008年9月6日 22:36
 7k 2008年09月07日 C:\cygwin\bin\cygpcreposix-0.dll - os=4.0 img=1.0 sys=4.0
 "cygpcreposix-0.dll" v0.0 ts=2008年9月6日 22:36
 155k 2008年11月29日 C:\cygwin\bin\cygreadline6.dll - os=4.0 img=1.0 sys=4.0
 "cygreadline6.dll" v0.0 ts=2008年11月29日 8:30
 232k 2009年03月25日 C:\cygwin\bin\cygssl-0.9.8.dll - os=4.0 img=1.0 sys=4.0
 "cygssl-0.9.8.dll" v0.0 ts=2009年3月25日 12:22
 22k 2009年03月29日 C:\cygwin\bin\cygwrap-0.dll - os=4.0 img=1.0 sys=4.0
 "cygwrap-0.dll" v0.0 ts=2009年3月29日 1:09
 65k 2009年03月02日 C:\cygwin\bin\cygz.dll - os=4.0 img=1.0 sys=4.0
 "cygz.dll" v0.0 ts=2009年3月1日 19:19
 1829k 2008年06月12日 C:\cygwin\bin\cygwin1.dll - os=4.0 img=1.0 sys=4.0
 "cygwin1.dll" v0.0 ts=2008年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="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/BLSrjnsLP7cRgXAgtKwBlGDrW0zPP5pcIw8xvfbCn76kIQrgM6KVq1ax28o/
--
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


More information about the Cygwin mailing list

AltStyle によって変換されたページ (->オリジナル) /