New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fails to read absolute directory symlinks #4213
Comments
Can you please post the (FTP) transcript from View → Log Drawer. |
Replying to [comment:1 yla]:
This will not help. As per the description, FTP listings work. Unfortunately, we do not have a transcript for SFTP connections. Do you succeed getting a correct directory listing with another client application? |
well, they show as links either way... the application should check the type of what it links to. when i ssh directly, my shell shows them as directories and i can cd to them and everything works. i thought SFTP was just FTP done over SSH? somewhere you aren't checking if links are directories. |
this might help... from the file details: the J"@ text in the WHERE might be the problem.... but the "kind" is showing as "(file)" which is also incorrect. could i change something on my server to make it work, or do you need to fix something in cyberduck? |
from ls -l when i ssh to the server for the same symlink:
nothing in there about J"@... looks like cyberduck bug. maybe the problem is the file name "www.websiteurl.com" that has periods in it... maybe cyberduck is incorrectly identifying it as a ".com" file instead of a link to a directory... notice the leading "l" for link in the permissions settings... |
and here is the FTP transcript from inside an SSH session on the server:
|
trying to fix the newlines... they were showing right on the form...
|
i just downloaded version 1.2 of Fugu, which is an SFTP only client... the directory symlinks worked fine and navigated to the proper directory when clicked on. also the connections did not become stale. your inattention to this seemingly critical, simple to fix, potential data loss causing bug has caused you to lose a user. Fugu does not however provide back/forth history buttons... but they do provide a history list... other than that, they got you matched on features. good luck. |
I don't know if I can shed any light on this, but I ran into this same problem. For my particular example, I found that if the symlink was an absolute link (i.e. it linked to "/dir/dir2/dir3") Cyberduck saw it as a file and tried to download it (and subsequently failed). I then noticed that other links were being followed properly, and they were all relative links. So, once I changed the symlink to be a relative link (i.e. it now links to "../dir/dir2/dir3") Cyberduck follows it as if it were a regular directory. Using the stock CLI sftp client, I was able to cd through the link in either case, but Cyberduck only followed it properly once it was relative. |
We now have a closer look as this didn't get the desired attention. |
Can you please help with the following debug information. Open a Terminal.app window and enter
Then, list the folder in question. In the
Please post the error message here. |
Sorry for the delay, I don't think I had e-mail notification set up properly (I'm not sure it's set up properly now, but we'll see...). I just tested this with logging set to warn and I can't duplicate the issue. I created some absolute links and relative links and other than lots of "No cached attributes for..." messages, Cyberduck followed both without error. I tried links to directories and to files. I also tried links that spanned different filesystems and they work as well. Was this fixed in a more recent version? I'm running 3.5.1 (6117) on Mac OS X 10.6.4 (x86_64). |
Replying to [comment:12 http://glowingapple.myopenid.com/]: There was no change in the SFTP implementation that should affect this that I am aware of. |
my server's default path is a directory full of links to other directories.
when i connect via FTP, they show as folder icons with link arrows and work fine... i can double click on them in cyberduck and browse the contents of the linked directory.
when i connect via SFTP, they show as file icons with link arrows, but they don't work. i can not follow their link path.
The text was updated successfully, but these errors were encountered: