Skip to content
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 list directory with symlinks #8342

Closed
cyberduck opened this issue Nov 19, 2014 · 2 comments
Closed

Fails to list directory with symlinks #8342

cyberduck opened this issue Nov 19, 2014 · 2 comments
Assignees
Labels
bug fixed sftp
Milestone

Comments

@cyberduck
Copy link
Collaborator

@cyberduck cyberduck commented Nov 19, 2014

0811c84 created the issue

I get an error when trying to enter a directory containing symlinks:

Cannot read file attibutes (/path/to/symlink)
39 OPENDIR
40 READDIR
41 READDIR
42 READLINK

Connection is SFTP. Server is proftpd with mod_sftp running on RHEL 6.
I have tested this with half a dozen other sftp clients with no issue.

@cyberduck
Copy link
Collaborator Author

@cyberduck cyberduck commented Nov 20, 2014

@dkocher commented

Possible fix in d137ec3. Please test with the latest snapshot build.

@cyberduck
Copy link
Collaborator Author

@cyberduck cyberduck commented Nov 20, 2014

@dkocher commented

The fix makes the assumption that the server is sending one of the SSH error status code [-1|4,5,8] when attempting to resolve the target of a symbolic link that does not exist. Previously only 3 (PERMISSION_DENIED) was handled which is what we get with the OpenSSH SFTP subsystem.

@iterate-ch iterate-ch locked as resolved and limited conversation to collaborators Nov 26, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug fixed sftp
Projects
None yet
Development

No branches or pull requests

2 participants