Directory listing problem

Advertisement

ks
Donor
ks avatar
Joined:
Posts:
77
Location:
Moscow

Directory listing problem

Hello, WinSCP displays a message (attached) because one of the items is actually a link to a SSHFS that's it links to files located on a remote server, and I (cust) do not have rights to see the link's attributes. If I see it in PuTTY, I see this:

ls -la
ls: cannot access lettuce: Permission denied
total 216
...
drwxrwsr-x 4 cust cust 4096 Jul 30 16:19 ks
d????????? ? ? ? ? ? lettuce
drwxr-sr-x 2 root cust 4096 Jul 8 20:05 logs
...

But at least I can see all files in the directory. With WinSCP, I only see files before the link. WinSCP can't parse question marks and then it stops parsing, while it should continue.


Also, can you remove bookmarks/options/SshHostKeys etc of deleted sessions (at the moment they are deleted), cause they are copied in the registry.

winscp.png

Reply with quote

Advertisement

martin
Site Admin
martin avatar
Joined:
Posts:
29,762
Location:
Prague, Czechia

Re: Directory listing problem

Thanks for your report. What protocol? SFTP or SCP?

Also, can you remove bookmarks/options/SshHostKeys etc of deleted sessions (at the moment they are deleted), cause they are copied in the registry.
OK, maybe optionally. Will see if more people ask for this.

Reply with quote

martin
Site Admin
martin avatar
Joined:
Posts:
29,762
Location:
Prague, Czechia

And what's the behavior with SFTP? Why are you using SCP? (sorry, if I've asked you already before)

Reply with quote

Advertisement

martin
Site Admin
martin avatar
Joined:
Posts:
29,762
Location:
Prague, Czechia

Re: Directory listing problem

This issue has been added to the tracker:
https://winscp.net/tracker/1448

I'm sending you an email with a development version of WinSCP to the address you have used to register on this forum.

Reply with quote

ks
Donor
ks avatar
Joined:
Posts:
77
Location:
Moscow

All I can say is now it does show the problem items correctly (with question marks, see attacment). Unfortunately, there are no other items in the directory nor can I create so I can't test if WinSCP properly shows items after these, but I think it does. Thank you.

winscp-fix.png

Reply with quote

ks
Donor
ks avatar
Joined:
Posts:
77
Location:
Moscow

Now I have tested it against another server and it shows everything correct with more items in the list.

Reply with quote

Advertisement

You can post new topics in this forum