Add link function wierd behavior

Advertisement

jGuruNew
Donor
Joined:
Posts:
7

Add link function wierd behavior

I log in, go to directory that is not my HOME. e.g (cd /var/opt) There is directory lib (/var/opt/lib). I set the cursor in panel to lib dir. Then click on the Add link icon. Dialog appears. In the edit box "Point/link shortcut to: lib is automatically filled. That's correct. Then I fill 'lib_lnk' to edit box "Link/shortcut file:". Click on OK button and what happend ? New link is created in the HOME directory and it's name is lib. What does it mean ? I use 4.1.0 (build 375).

Reply with quote

Advertisement

jGuruNew
Donor
Joined:
Posts:
7

Re: Add link function wierd behavior

martin wrote:

What is your server? Can you post a log file?

SunOS 5.10 is the OS of the server.

. 2008-04-30 15:10:03.277 --------------------------------------------------------------------------
. 2008-04-30 15:10:03.277 WinSCP Version 4.1.0 (Build 375) (OS 5.0.2195 Service Pack 4)
. 2008-04-30 15:10:03.277 Login time: 30. apríl 2008 15:10:03
. 2008-04-30 15:10:03.277 --------------------------------------------------------------------------
. 2008-04-30 15:10:03.277 Session name: gabo@jtatrasun1
. 2008-04-30 15:10:03.277 Host name: 10.238.12.175 (Port: 22)
. 2008-04-30 15:10:03.277 User name: gabo (Password: Yes, Key file: No)
. 2008-04-30 15:10:03.277 Tunnel: No
. 2008-04-30 15:10:03.277 Transfer Protocol: SFTP (SCP)
. 2008-04-30 15:10:03.277 Ping type: -, Ping interval: 30 sec; Timeout: 15 sec
. 2008-04-30 15:10:03.277 Proxy: none
. 2008-04-30 15:10:03.277 SSH protocol version: 2; Compression: No
. 2008-04-30 15:10:03.277 Bypass authentication: No
. 2008-04-30 15:10:03.277 Try agent: Yes; Agent forwarding: No; TIS/CryptoCard: No; KI: Yes; GSSAPI: No
. 2008-04-30 15:10:03.277 Ciphers: aes,blowfish,3des,WARN,arcfour,des; Ssh2DES: No
. 2008-04-30 15:10:03.277 SSH Bugs: -,-,-,-,-,-,-,-
. 2008-04-30 15:10:03.277 SFTP Bugs: -,-
. 2008-04-30 15:10:03.277 Return code variable: Autodetect; Lookup user groups: Yes
. 2008-04-30 15:10:03.277 Shell: default, EOL: 0
. 2008-04-30 15:10:03.277 Clear aliases: Yes, Unset nat.vars: Yes, Resolve symlinks: Yes
. 2008-04-30 15:10:03.277 LS: ls -la, Ign LS warn: Yes, Scp1 Comp: No
. 2008-04-30 15:10:03.277 Local directory: default, Remote directory: home, Update: No, Cache: Yes
. 2008-04-30 15:10:03.277 Cache directory changes: Yes, Permanent: Yes
. 2008-04-30 15:10:03.277 DST mode: 1
. 2008-04-30 15:10:03.277 --------------------------------------------------------------------------
. 2008-04-30 15:10:03.293 Looking up host "10.238.12.175"
. 2008-04-30 15:10:03.293 Connecting to 10.238.12.175 port 22
. 2008-04-30 15:10:03.308 Server version: SSH-2.0-Sun_SSH_1.1
. 2008-04-30 15:10:03.308 We claim version: SSH-2.0-WinSCP_release_4.1
. 2008-04-30 15:10:03.308 SSPI: acquired credentials for: tb12365@AD.TATRABANKA.SK
. 2008-04-30 15:10:03.308 Cannot convert IP address to SPN: DNS is not trusted
. 2008-04-30 15:10:03.308 GSSKEX disabled: The operation completed successfully.

. 2008-04-30 15:10:03.308 Using SSH protocol version 2
. 2008-04-30 15:10:03.402 Doing Diffie-Hellman group exchange
. 2008-04-30 15:10:03.402 Doing Diffie-Hellman key exchange with hash SHA-1
. 2008-04-30 15:10:03.496 Host key fingerprint is:
. 2008-04-30 15:10:03.496 ssh-rsa 1024 62:c8:22:dc:42:88:d3:89:ae:07:a8:da:0c:82:be:a7
. 2008-04-30 15:10:03.496 Initialised AES-128 SDCTR client->server encryption
. 2008-04-30 15:10:03.496 Initialised HMAC-SHA1 client->server MAC algorithm
. 2008-04-30 15:10:03.496 Initialised AES-128 SDCTR server->client encryption
. 2008-04-30 15:10:03.496 Initialised HMAC-SHA1 server->client MAC algorithm
! 2008-04-30 15:10:03.527 Using username "gabo".
. 2008-04-30 15:10:03.558 Prompt (5, SSH server authentication, Using keyboard-interactive authentication., Password: )
. 2008-04-30 15:10:03.558 Using stored password.
. 2008-04-30 15:10:03.574 Access granted
. 2008-04-30 15:10:03.590 Opened channel for session
. 2008-04-30 15:10:03.590 Started a shell/command
. 2008-04-30 15:10:03.590 --------------------------------------------------------------------------
. 2008-04-30 15:10:03.590 Using SFTP protocol.
. 2008-04-30 15:10:03.590 Doing startup conversation with host.
> 2008-04-30 15:10:03.590 Type: SSH_FXP_INIT, Size: 5, Number: -1
< 2008-04-30 15:10:03.605 Type: SSH_FXP_VERSION, Size: 5, Number: -1
. 2008-04-30 15:10:03.605 SFTP version 3 negotiated.
. 2008-04-30 15:10:03.605 We believe the server has signed timestamps bug
. 2008-04-30 15:10:03.605 We will use UTF-8 strings for status messages only
. 2008-04-30 15:10:03.605 Getting current directory name.
. 2008-04-30 15:10:03.605 Getting real path for '.'
> 2008-04-30 15:10:03.605 Type: SSH_FXP_REALPATH, Size: 10, Number: 16
< 2008-04-30 15:10:03.605 Type: SSH_FXP_NAME, Size: 41, Number: 16
. 2008-04-30 15:10:03.621 Real path is '/home/gabo'
. 2008-04-30 15:10:03.621 Listing directory "/home/gabo".
> 2008-04-30 15:10:03.621 Type: SSH_FXP_OPENDIR, Size: 19, Number: 267
< 2008-04-30 15:10:03.621 Type: SSH_FXP_HANDLE, Size: 13, Number: 267
> 2008-04-30 15:10:03.621 Type: SSH_FXP_READDIR, Size: 13, Number: 524
< 2008-04-30 15:10:03.621 Type: SSH_FXP_NAME, Size: 207, Number: 524
> 2008-04-30 15:10:03.621 Type: SSH_FXP_READDIR, Size: 13, Number: 780
< 2008-04-30 15:10:03.621 Type: SSH_FXP_STATUS, Size: 28, Number: 780
< 2008-04-30 15:10:03.621 Status/error code: 1
> 2008-04-30 15:10:03.621 Type: SSH_FXP_CLOSE, Size: 13, Number: 1028
. 2008-04-30 15:10:03.621 Startup conversation with host finished.
* 2008-04-30 15:10:03.933 (EStringListError) List index out of bounds (-1)
. 2008-04-30 15:10:06.090 Cached directory change via ".." to "/home".
. 2008-04-30 15:10:06.090 Getting current directory name.
. 2008-04-30 15:10:06.090 Listing directory "/home".
> 2008-04-30 15:10:06.090 Type: SSH_FXP_OPENDIR, Size: 14, Number: 1291
< 2008-04-30 15:10:06.090 Type: SSH_FXP_STATUS, Size: 24, Number: 1028
. 2008-04-30 15:10:06.090 Discarding reserved response
< 2008-04-30 15:10:06.090 Type: SSH_FXP_HANDLE, Size: 13, Number: 1291
> 2008-04-30 15:10:06.090 Type: SSH_FXP_READDIR, Size: 13, Number: 1548
< 2008-04-30 15:10:06.090 Type: SSH_FXP_NAME, Size: 1067, Number: 1548
> 2008-04-30 15:10:06.090 Type: SSH_FXP_READDIR, Size: 13, Number: 1804
< 2008-04-30 15:10:06.090 Type: SSH_FXP_STATUS, Size: 28, Number: 1804
< 2008-04-30 15:10:06.090 Status/error code: 1
> 2008-04-30 15:10:06.090 Type: SSH_FXP_CLOSE, Size: 13, Number: 2052
. 2008-04-30 15:10:09.761 Cached directory change via ".." to "/".
. 2008-04-30 15:10:09.761 Getting current directory name.
. 2008-04-30 15:10:09.761 Listing directory "/".
> 2008-04-30 15:10:09.761 Type: SSH_FXP_OPENDIR, Size: 10, Number: 2315
< 2008-04-30 15:10:09.761 Type: SSH_FXP_STATUS, Size: 24, Number: 2052
. 2008-04-30 15:10:09.761 Discarding reserved response
< 2008-04-30 15:10:09.761 Type: SSH_FXP_HANDLE, Size: 13, Number: 2315
> 2008-04-30 15:10:09.761 Type: SSH_FXP_READDIR, Size: 13, Number: 2572
< 2008-04-30 15:10:09.761 Type: SSH_FXP_NAME, Size: 2094, Number: 2572
> 2008-04-30 15:10:09.761 Type: SSH_FXP_READDIR, Size: 13, Number: 2828
. 2008-04-30 15:10:09.761 Reading symlink "bin".
> 2008-04-30 15:10:09.761 Type: SSH_FXP_READLINK, Size: 13, Number: 3091
> 2008-04-30 15:10:09.761 Type: SSH_FXP_STAT, Size: 13, Number: 3345
< 2008-04-30 15:10:09.761 Type: SSH_FXP_STATUS, Size: 28, Number: 2828
. 2008-04-30 15:10:09.761 Storing reserved response
< 2008-04-30 15:10:09.777 Type: SSH_FXP_NAME, Size: 39, Number: 3091
< 2008-04-30 15:10:09.980 Type: SSH_FXP_ATTRS, Size: 37, Number: 3345
< 2008-04-30 15:10:09.980 Status/error code: 1
> 2008-04-30 15:10:09.980 Type: SSH_FXP_CLOSE, Size: 13, Number: 3588
. 2008-04-30 15:10:11.293 Cached directory change via ".." to "/".
. 2008-04-30 15:10:11.293 Getting current directory name.
. 2008-04-30 15:10:11.340 Directory content loaded from cache.
. 2008-04-30 15:10:14.965 Cached directory change via "opt" to "/opt".
. 2008-04-30 15:10:14.965 Getting current directory name.
. 2008-04-30 15:10:14.965 Listing directory "/opt".
> 2008-04-30 15:10:14.965 Type: SSH_FXP_OPENDIR, Size: 13, Number: 3851
< 2008-04-30 15:10:14.965 Type: SSH_FXP_STATUS, Size: 24, Number: 3588
. 2008-04-30 15:10:14.965 Discarding reserved response
< 2008-04-30 15:10:14.965 Type: SSH_FXP_HANDLE, Size: 13, Number: 3851
> 2008-04-30 15:10:14.965 Type: SSH_FXP_READDIR, Size: 13, Number: 4108
< 2008-04-30 15:10:14.996 Type: SSH_FXP_NAME, Size: 1861, Number: 4108
> 2008-04-30 15:10:14.996 Type: SSH_FXP_READDIR, Size: 13, Number: 4364
< 2008-04-30 15:10:14.996 Type: SSH_FXP_STATUS, Size: 28, Number: 4364
< 2008-04-30 15:10:14.996 Status/error code: 1
> 2008-04-30 15:10:14.996 Type: SSH_FXP_CLOSE, Size: 13, Number: 4612
. 2008-04-30 15:10:17.512 Cached directory change via "ibanking" to "/opt/ibanking".
. 2008-04-30 15:10:17.512 Getting current directory name.
. 2008-04-30 15:10:17.512 Listing directory "/opt/ibanking".
> 2008-04-30 15:10:17.512 Type: SSH_FXP_OPENDIR, Size: 22, Number: 4875
< 2008-04-30 15:10:17.512 Type: SSH_FXP_STATUS, Size: 24, Number: 4612
. 2008-04-30 15:10:17.512 Discarding reserved response
< 2008-04-30 15:10:17.512 Type: SSH_FXP_HANDLE, Size: 13, Number: 4875
> 2008-04-30 15:10:17.512 Type: SSH_FXP_READDIR, Size: 13, Number: 5132
< 2008-04-30 15:10:17.512 Type: SSH_FXP_NAME, Size: 425, Number: 5132
> 2008-04-30 15:10:17.512 Type: SSH_FXP_READDIR, Size: 13, Number: 5388
< 2008-04-30 15:10:17.527 Type: SSH_FXP_STATUS, Size: 28, Number: 5388
< 2008-04-30 15:10:17.527 Status/error code: 1
> 2008-04-30 15:10:17.527 Type: SSH_FXP_CLOSE, Size: 13, Number: 5636
. 2008-04-30 15:10:19.074 Changing directory to "mbanking".
. 2008-04-30 15:10:19.074 Getting real path for '/opt/ibanking/mbanking'
> 2008-04-30 15:10:19.074 Type: SSH_FXP_REALPATH, Size: 31, Number: 5904
< 2008-04-30 15:10:19.074 Type: SSH_FXP_STATUS, Size: 24, Number: 5636
. 2008-04-30 15:10:19.074 Discarding reserved response
< 2008-04-30 15:10:19.074 Type: SSH_FXP_NAME, Size: 65, Number: 5904
. 2008-04-30 15:10:19.074 Real path is '/opt/ibanking/mbanking'
. 2008-04-30 15:10:19.074 Trying to open directory "/opt/ibanking/mbanking".
> 2008-04-30 15:10:19.074 Type: SSH_FXP_LSTAT, Size: 31, Number: 6151
< 2008-04-30 15:10:19.074 Type: SSH_FXP_ATTRS, Size: 37, Number: 6151
. 2008-04-30 15:10:19.074 Getting current directory name.
. 2008-04-30 15:10:19.074 Listing directory "/opt/ibanking/mbanking".
> 2008-04-30 15:10:19.074 Type: SSH_FXP_OPENDIR, Size: 31, Number: 6411
< 2008-04-30 15:10:19.074 Type: SSH_FXP_HANDLE, Size: 13, Number: 6411
> 2008-04-30 15:10:19.074 Type: SSH_FXP_READDIR, Size: 13, Number: 6668
< 2008-04-30 15:10:19.074 Type: SSH_FXP_NAME, Size: 1119, Number: 6668
> 2008-04-30 15:10:19.074 Type: SSH_FXP_READDIR, Size: 13, Number: 6924
. 2008-04-30 15:10:19.074 Reading symlink "log".
> 2008-04-30 15:10:19.074 Type: SSH_FXP_READLINK, Size: 35, Number: 7187
> 2008-04-30 15:10:19.074 Type: SSH_FXP_STAT, Size: 35, Number: 7441
< 2008-04-30 15:10:19.074 Type: SSH_FXP_STATUS, Size: 28, Number: 6924
. 2008-04-30 15:10:19.074 Storing reserved response
< 2008-04-30 15:10:19.074 Type: SSH_FXP_NAME, Size: 73, Number: 7187
< 2008-04-30 15:10:19.277 Type: SSH_FXP_ATTRS, Size: 37, Number: 7441
. 2008-04-30 15:10:19.277 Reading symlink "java".
> 2008-04-30 15:10:19.277 Type: SSH_FXP_READLINK, Size: 36, Number: 7699
> 2008-04-30 15:10:19.277 Type: SSH_FXP_STAT, Size: 36, Number: 7953
< 2008-04-30 15:10:19.277 Type: SSH_FXP_NAME, Size: 53, Number: 7699
< 2008-04-30 15:10:19.277 Type: SSH_FXP_ATTRS, Size: 37, Number: 7953
< 2008-04-30 15:10:19.277 Status/error code: 1
> 2008-04-30 15:10:19.277 Type: SSH_FXP_CLOSE, Size: 13, Number: 8196
. 2008-04-30 15:10:32.340 Creating link "lib_link" to "lib" (symbolic: Yes).
. 2008-04-30 15:10:32.340 Canonifying: "lib_link"
. 2008-04-30 15:10:32.340 Getting real path for '/opt/ibanking/mbanking/lib_link'
> 2008-04-30 15:10:32.340 Type: SSH_FXP_REALPATH, Size: 40, Number: 8720
< 2008-04-30 15:10:32.340 Type: SSH_FXP_STATUS, Size: 24, Number: 8196
. 2008-04-30 15:10:32.340 Discarding reserved response
< 2008-04-30 15:10:32.340 Type: SSH_FXP_STATUS, Size: 29, Number: 8720
< 2008-04-30 15:10:32.340 Status/error code: 2, Message: 8720, Server: No such file, Language:
. 2008-04-30 15:10:32.340 Getting real path for '/opt/ibanking/mbanking/'
> 2008-04-30 15:10:32.340 Type: SSH_FXP_REALPATH, Size: 32, Number: 8976
< 2008-04-30 15:10:32.340 Type: SSH_FXP_NAME, Size: 65, Number: 8976
. 2008-04-30 15:10:32.340 Real path is '/opt/ibanking/mbanking'
. 2008-04-30 15:10:32.340 Canonified: "/opt/ibanking/mbanking/lib_link"
> 2008-04-30 15:10:32.340 Type: SSH_FXP_SYMLINK, Size: 47, Number: 8468
< 2008-04-30 15:10:32.340 Type: SSH_FXP_STATUS, Size: 24, Number: 8468
< 2008-04-30 15:10:32.340 Status/error code: 0

. 2008-04-30 15:10:32.340 Listing directory "/opt/ibanking/mbanking".
> 2008-04-30 15:10:32.340 Type: SSH_FXP_OPENDIR, Size: 31, Number: 9227
< 2008-04-30 15:10:32.340 Type: SSH_FXP_HANDLE, Size: 13, Number: 9227
> 2008-04-30 15:10:32.340 Type: SSH_FXP_READDIR, Size: 13, Number: 9484
< 2008-04-30 15:10:32.340 Type: SSH_FXP_NAME, Size: 1119, Number: 9484
> 2008-04-30 15:10:32.340 Type: SSH_FXP_READDIR, Size: 13, Number: 9740
. 2008-04-30 15:10:32.340 Reading symlink "log".
> 2008-04-30 15:10:32.340 Type: SSH_FXP_READLINK, Size: 35, Number: 10003
> 2008-04-30 15:10:32.340 Type: SSH_FXP_STAT, Size: 35, Number: 10257
< 2008-04-30 15:10:32.340 Type: SSH_FXP_STATUS, Size: 28, Number: 9740
. 2008-04-30 15:10:32.340 Storing reserved response
< 2008-04-30 15:10:32.340 Type: SSH_FXP_NAME, Size: 73, Number: 10003
< 2008-04-30 15:10:32.512 Type: SSH_FXP_ATTRS, Size: 37, Number: 10257
. 2008-04-30 15:10:32.512 Reading symlink "java".
> 2008-04-30 15:10:32.512 Type: SSH_FXP_READLINK, Size: 36, Number: 10515
> 2008-04-30 15:10:32.512 Type: SSH_FXP_STAT, Size: 36, Number: 10769
< 2008-04-30 15:10:32.512 Type: SSH_FXP_NAME, Size: 53, Number: 10515
< 2008-04-30 15:10:32.512 Type: SSH_FXP_ATTRS, Size: 37, Number: 10769
< 2008-04-30 15:10:32.512 Status/error code: 1
> 2008-04-30 15:10:32.512 Type: SSH_FXP_CLOSE, Size: 13, Number: 11012
. 2008-04-30 15:10:37.074 Closing connection.

Reply with quote

martin
Site Admin
martin avatar
Joined:
Posts:
41,454
Location:
Prague, Czechia

Re: Add link function wierd behavior

Maybe the Sub SSH suffers the same bug as OpenSSH, which incorrectly interprets arguments to SSH_FXP_SYMLINK reversely. If you can confirm that I'll try to make WinSCP autodetect the bug, the same way it does for OpenSSH. Try to go to SFTP tab of Login dialog and set Reverses Order of Symlink Command Arguments to On.

Also maybe the bug (if it is bug) is already solved in newer version of the server.
Last edited by martin on 2008-05-07; edited 1 time in total

Reply with quote

Advertisement

Advertisement

You can post new topics in this forum