Article 5CS4W Couldn't read directory: No such file or directory when connecting to a server through sftp

Couldn't read directory: No such file or directory when connecting to a server through sftp

by
hienha123
from LinuxQuestions.org on (#5CS4W)
Hello,

I have an issue with "Couldn't read directory: No such file or directory" error when I sftp to a server and run a "ls" command to get a list of files in the folder. Sometime the command would work and other time would return with the error. There are hundred of files sitting in the folder so I think it had to do with permission issue if my guess is correct.

The folder is currently have this permission: drwxrwxr-x

Any suggestion on how to troubleshoot this issue is appreciated.

Thanks,
Hienlatest?d=yIl2AUoC8zA latest?i=Lz6KmlYNjHM:1iTrjHr9cJI:F7zBnMy latest?i=Lz6KmlYNjHM:1iTrjHr9cJI:V_sGLiP latest?d=qj6IDK7rITs latest?i=Lz6KmlYNjHM:1iTrjHr9cJI:gIN9vFwLz6KmlYNjHM
External Content
Source RSS or Atom Feed
Feed Location https://feeds.feedburner.com/linuxquestions/latest
Feed Title LinuxQuestions.org
Feed Link https://www.linuxquestions.org/questions/
Reply 0 comments