Error getting to /cygdrive
I connect the Win2k PC (openssh 3.7.1p1-1 Installer Build 20030930) with WinSCP 3.3 in sftp mode. WinSCP lists my /cygdrive/d home directry. If I go to /cygdrive/c then try to go back to /cygdrive, I get the message at the end of the log. I have to restart the session to be able to go to /cygdrive (note that I can still go to other drives with CTRL-O -> /cygdrive/d)
Only drive c has this problem. PSFTP works fine so I think this is just related to WinSCP.
Thanks for your help,
Laurent
. Listing directory "/cygdrive/d".
> Type: SSH_FXP_OPENDIR, Size: 20, Number: 523
< Type: SSH_FXP_HANDLE, Size: 13, Number: 523
> Type: SSH_FXP_READDIR, Size: 13, Number: 780
< Type: SSH_FXP_NAME, Size: 2122, Number: 780
> Type: SSH_FXP_READDIR, Size: 13, Number: 1036
< Type: SSH_FXP_STATUS, Size: 28, Number: 1036
< Status/error code: 1
> Type: SSH_FXP_CLOSE, Size: 13, Number: 1284
< Type: SSH_FXP_STATUS, Size: 24, Number: 1284
< Status/error code: 0
. Startup conversation with host finished.
. Changing directory to "..".
> Type: SSH_FXP_REALPATH, Size: 23, Number: 1552
< Type: SSH_FXP_NAME, Size: 39, Number: 1552
> Type: SSH_FXP_OPENDIR, Size: 18, Number: 1803
< Type: SSH_FXP_HANDLE, Size: 13, Number: 1803
> Type: SSH_FXP_CLOSE, Size: 13, Number: 2052
< Type: SSH_FXP_STATUS, Size: 24, Number: 2052
< Status/error code: 0
. Getting current directory name.
. Listing directory "/cygdrive".
> Type: SSH_FXP_OPENDIR, Size: 18, Number: 2315
< Type: SSH_FXP_HANDLE, Size: 13, Number: 2315
> Type: SSH_FXP_READDIR, Size: 13, Number: 2572
< Type: SSH_FXP_NAME, Size: 523, Number: 2572
> Type: SSH_FXP_READDIR, Size: 13, Number: 2828
< Type: SSH_FXP_STATUS, Size: 28, Number: 2828
< Status/error code: 1
> Type: SSH_FXP_CLOSE, Size: 13, Number: 3076
< Type: SSH_FXP_STATUS, Size: 24, Number: 3076
< Status/error code: 0
. Changing directory to "c".
> Type: SSH_FXP_REALPATH, Size: 20, Number: 3344
< Type: SSH_FXP_NAME, Size: 43, Number: 3344
> Type: SSH_FXP_OPENDIR, Size: 20, Number: 3595
< Type: SSH_FXP_HANDLE, Size: 13, Number: 3595
> Type: SSH_FXP_CLOSE, Size: 13, Number: 3844
< Type: SSH_FXP_STATUS, Size: 24, Number: 3844
< Status/error code: 0
. Getting current directory name.
. Listing directory "/cygdrive/c".
> Type: SSH_FXP_OPENDIR, Size: 20, Number: 4107
< Type: SSH_FXP_HANDLE, Size: 13, Number: 4107
> Type: SSH_FXP_READDIR, Size: 13, Number: 4364
< Type: SSH_FXP_NAME, Size: 3452, Number: 4364
> Type: SSH_FXP_READDIR, Size: 13, Number: 4620
< Type: SSH_FXP_STATUS, Size: 28, Number: 4620
< Status/error code: 1
> Type: SSH_FXP_CLOSE, Size: 13, Number: 4868
< Type: SSH_FXP_STATUS, Size: 24, Number: 4868
< Status/error code: 0
. Changing directory to "..".
> Type: SSH_FXP_REALPATH, Size: 23, Number: 5136
< Type: SSH_FXP_NAME, Size: 39, Number: 5136
> Type: SSH_FXP_OPENDIR, Size: 18, Number: 5387
< Type: SSH_FXP_HANDLE, Size: 13, Number: 5387
> Type: SSH_FXP_CLOSE, Size: 13, Number: 5636
< Type: SSH_FXP_STATUS, Size: 34, Number: 5636
< Status/error code: 3, Message: 5636, Server: Permission denied, Language: ?
* (ECommand) Error changing directory to "..".
* Permission denied.
* Error code: 3
* Error message from server: Permission denied (?)
* Request code: 4
. Closing connection.