Topic "Login Problem: ls -la fails"

Author Message

my WinSCP2 works pretty fine w/CygWin concerning plain login. But that's about it. First of all, I had the group lookup problem, which I could solve by unchecking the 'lookup groups' button. This I guess was quite logical on a Win98 System w/no support for groups and file permissions and so on. But then WinSCP was unable to run 'ls -la':
Command "ls -la"
failed with return code 127 and error message
/bin/bash: line 31: ls: command not found.

I checked out this site and found a possible solution, which did not help. Changed the bash to 'bin/sh' didn't work and the CR/LF neither. Do you have any idea what could be wrong w/my setup?

[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 27059
Location: Prague, Czechia
It seems that you either do not have LS command at all or it is not in path. Log file can be useful.
Martin Prikryl

You can post new topics in this forum


What is WinSCP?

It is award-winning SFTP client, SCP client, FTPS client and FTP client integrated into one software program for file transfer to FTP server or secure SFTP server. [More]

And it's free!


About donations

$9   $19   $49   $99

About donations


WinSCP Privacy Policy

WinSCP License