Remote directory listing broken

Advertisement

ericr
Guest

Remote directory listing broken

Using WinSCP 2.2.0 (build 122), I get the following behavior when logging into a Solaris 9 server:

Error listing directory "/export/home/ericr".
Unexpected directory listing line "drwx------ 91 ericr 6656 Apr 4 16:27 .".
Operation aborted

and I never get the remote directory listing. However, in the log file, it seems to be working, so I suspect a bug in parsing the output of the dorectory list. Here's an example log:

Doing startup conversation with host (shell).
Skipping host startup message (if any).
echo "WinSCP: this is end-of-file:0"
Warning: no access to tty (Bad file number).
Thus no job control in this shell.
Sun Microsystems Inc. SunOS 5.9 Generic May 2002
WinSCP: this is end-of-file:0
Detecting variable containing return code of last command.
Trying "$status".
echo "$status" ; echo "WinSCP: this is end-of-file:0"
0
WinSCP: this is end-of-file:0
Return code variable "$status" selected.
Looking up current user groups.
groups ; echo "WinSCP: this is end-of-file:$status"
staff root ericr sysadmin
WinSCP: this is end-of-file:0
Following groups found:
staff
root
ericr
sysadmin
Clearing all aliases.
unalias "echo" ; echo "WinSCP: this is end-of-file:$status"
WinSCP: this is end-of-file:0
unalias "pwd" ; echo "WinSCP: this is end-of-file:$status"
WinSCP: this is end-of-file:0
unalias "cd" ; echo "WinSCP: this is end-of-file:$status"
WinSCP: this is end-of-file:0
unalias "ls" ; echo "WinSCP: this is end-of-file:$status"
WinSCP: this is end-of-file:0
unalias "groups" ; echo "WinSCP: this is end-of-file:$status"
WinSCP: this is end-of-file:0
unalias "scp" ; echo "WinSCP: this is end-of-file:$status"
WinSCP: this is end-of-file:0
unalias "rm" ; echo "WinSCP: this is end-of-file:$status"
WinSCP: this is end-of-file:0
unalias "mv" ; echo "WinSCP: this is end-of-file:$status"
WinSCP: this is end-of-file:0
unalias "mkdir" ; echo "WinSCP: this is end-of-file:$status"
WinSCP: this is end-of-file:0
unalias "chmod" ; echo "WinSCP: this is end-of-file:$status"
WinSCP: this is end-of-file:0
unalias "chgrp" ; echo "WinSCP: this is end-of-file:$status"
WinSCP: this is end-of-file:0
unalias "chown" ; echo "WinSCP: this is end-of-file:$status"
WinSCP: this is end-of-file:0
unalias "unset" ; echo "WinSCP: this is end-of-file:$status"
WinSCP: this is end-of-file:0
unalias "unalias" ; echo "WinSCP: this is end-of-file:$status"
WinSCP: this is end-of-file:0
unalias "alias" ; echo "WinSCP: this is end-of-file:$status"
WinSCP: this is end-of-file:0
unalias "%s" ; echo "WinSCP: this is end-of-file:$status"
WinSCP: this is end-of-file:0
Clearing national user variables.
unset "LANG" ; echo "WinSCP: this is end-of-file:$status"
WinSCP: this is end-of-file:0
unset "LANGUAGE" ; echo "WinSCP: this is end-of-file:$status"
WinSCP: this is end-of-file:0
unset "LC_CTYPE" ; echo "WinSCP: this is end-of-file:$status"
WinSCP: this is end-of-file:0
unset "LC_COLLATE" ; echo "WinSCP: this is end-of-file:$status"
WinSCP: this is end-of-file:0
unset "LC_MONETARY" ; echo "WinSCP: this is end-of-file:$status"
WinSCP: this is end-of-file:0
unset "LC_NUMERIC" ; echo "WinSCP: this is end-of-file:$status"
WinSCP: this is end-of-file:0
unset "LC_TIME" ; echo "WinSCP: this is end-of-file:$status"
WinSCP: this is end-of-file:0
unset "LC_MESSAGES" ; echo "WinSCP: this is end-of-file:$status"
WinSCP: this is end-of-file:0
unset "LC_ALL" ; echo "WinSCP: this is end-of-file:$status"
WinSCP: this is end-of-file:0
unset "HUMAN_BLOCKS" ; echo "WinSCP: this is end-of-file:$status"
WinSCP: this is end-of-file:0
Getting current directory name.
pwd ; echo "WinSCP: this is end-of-file:$status"
/export/home/ericr
WinSCP: this is end-of-file:0
Listing current directory.
ls -la ; echo "WinSCP: this is end-of-file:$status"
total 346600
drwx------ 91 ericr 6656 Apr 4 16:27 .
drwxr-xr-x 7 root 512 Mar 6 12:04 ..
-rw------- 1 ericr 1911 Dec 6 2000 .Bugtraqrc
-rw------- 1 ericr 3104 Mar 20 14:20 .ICEauthority
-rw------- 1 ericr 33 Oct 24 2000 .OWdefaults
-rw-rw-r-- 1 ericr 22800 Apr 3 08:25 .RealNetworks_RealMediaSDK_60
-rw-rw-r-- 1 ericr 998 Apr 3 08:25 .RealNetworks_RealPlayer_60
-rw-rw-r-- 1 ericr 75 Mar 5 15:46 .RealNetworks_RealShared_00
-rw------- 1 ericr 2497 Mar 20 14:20 .TTauthority
drwxrwxr-x 2 ericr 512 Mar 20 14:36 .Trash
-rw------- 1 ericr 3354 Mar 28 20:20 .Xauthority
-rw-rw-r-- 1 ericr 40 Aug 7 2002 .Xdefaults
...
WinSCP: this is end-of-file:0
Startup conversation with host (shell) finished.

I get the same behavior in all directories on the system. How can I get the remote directory listing to work?

Thanks!

ericr
ericr@clue.com

Reply with quote

Advertisement

martin
Site Admin
martin avatar
Joined:
Posts:
40,476
Location:
Prague, Czechia

Re: Remote directory listing broken

WinSCP requires group name to be present in directory listing. Please read "Requirements" chapter.

Reply with quote

Advertisement

You can post new topics in this forum