Topic "Login Problem: ls -la fails"

Author Message
Guest




Hello,
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':
Code:
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?

Thanks
Christian
martin
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 25015
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
Advertisements

You can post new topics in this forum






Search Site

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!

Donate

About donations

$9   $19   $49   $99

About donations

Recommend

WinSCP Privacy Policy

WinSCP License