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

Handles symbolic links improperly. #4126

Closed
cyberduck opened this issue Jan 20, 2010 · 3 comments
Closed

Handles symbolic links improperly. #4126

cyberduck opened this issue Jan 20, 2010 · 3 comments
Assignees
Labels
bug fixed ftp
Milestone

Comments

@cyberduck
Copy link
Collaborator

cyberduck commented Jan 20, 2010

cf25a9a created the issue

When listing a folder containing symbolic links Cyberduck 3.4.1 tries to change working directory to the path the symbolic link points to, not the symbolic link itself. That does usually not work as the server does not allow it:

CWD /
250 OK. Current directory is /
SYST
215 UNIX Type: L8
STAT /
213-STAT
lrwxr-xr-x    1 0        1982           76 Jan 20 23:12 HasseStina -> /private/Network/Servers/192.168.1.76/Volumes/2TB/familje filmer/HasseStina/
lrwxr-xr-x    1 0        1982           32 Jan 20 22:49 Kids -> /Users/chersoph/Desktop/2TB/Kids
lrwxr-xr-x    1 0        1982           34 Jan 20 22:49 Movies -> /Users/chersoph/Desktop/2TB/Movies
lrwxr-xr-x    1 0        1982           30 Jan 20 22:49 TV -> /Users/chersoph/Desktop/2TB/TV
lrwxr-xr-x    1 0        1982           32 Jan 11 22:01 ali dropbox -> /Volumes/WD230GB/ftp/ali dropbox
213 End.
CWD /private/Network/Servers/192.168.1.76/Volumes/2TB/familje filmer/HasseStina
550 Can't change directory to /private/Network/Servers/192.168.1.76/Volumes/2TB/familje filmer/HasseStina: No such file or directory
CWD /Users/chersoph/Desktop/2TB/Kids
550 Can't change directory to /Users/chersoph/Desktop/2TB/Kids: No such file or directory
CWD /Users/chersoph/Desktop/2TB/Movies
550 Can't change directory to /Users/chersoph/Desktop/2TB/Movies: No such file or directory
CWD /Users/chersoph/Desktop/2TB/TV
550 Can't change directory to /Users/chersoph/Desktop/2TB/TV: No such file or directory
CWD /Volumes/WD230GB/ftp/ali dropbox
550 Can't change directory to /Volumes/WD230GB/ftp/ali dropbox: No such file or directory

In Cyberduck 3.3b4 the applications behavior was the opposite:

CWD /
250 OK. Current directory is /
SYST
215 UNIX Type: L8
STAT /
213-STAT
lrwxr-xr-x    1 0        1982           76 Jan 20 23:12 HasseStina -> /private/Network/Servers/192.168.1.76/Volumes/2TB/familje filmer/HasseStina/
lrwxr-xr-x    1 0        1982           32 Jan 20 22:49 Kids -> /Users/chersoph/Desktop/2TB/Kids
lrwxr-xr-x    1 0        1982           34 Jan 20 22:49 Movies -> /Users/chersoph/Desktop/2TB/Movies
lrwxr-xr-x    1 0        1982           30 Jan 20 22:49 TV -> /Users/chersoph/Desktop/2TB/TV
lrwxr-xr-x    1 0        1982           32 Jan 11 22:01 ali dropbox -> /Volumes/WD230GB/ftp/ali dropbox
213 End.
CWD /HasseStina
250 OK. Current directory is /HasseStina
CWD /Kids
250 OK. Current directory is /Kids
CWD /Movies
250 OK. Current directory is /Movies
CWD /TV
250 OK. Current directory is /TV
CWD /ali dropbox
250 OK. Current directory is /ali dropbox
CWD /
250 OK. Current directory is /
@cyberduck
Copy link
Collaborator Author

cyberduck commented Jan 20, 2010

@dkocher commented

Thanks for posting a bug report about this regression.

@cyberduck
Copy link
Collaborator Author

cyberduck commented Jan 20, 2010

@dkocher commented

The regression was introduced in 4eac036 because of bug report #3763. Will have to analyze this more in depth.

@cyberduck
Copy link
Collaborator Author

cyberduck commented May 25, 2010

@dkocher commented

Fix in 08e7043.

@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 ftp
Projects
None yet
Development

No branches or pull requests

2 participants