[Cyberduck-trac] [Cyberduck] #4126: Handles symbolic links improperly. (was: Cyberduck 3.4.1 handles symbolic links improperly.)
Cyberduck
trac at trac.cyberduck.ch
Wed Jan 20 23:39:52 CET 2010
#4126: Handles symbolic links improperly.
----------------------------------------+-----------------------------------
Reporter: ian.vannman@… | Owner: dkocher
Type: defect | Status: assigned
Priority: highest | Milestone: 3.5
Component: ftp | Version: 3.4.1
Severity: critical | Keywords: symbolic link broken
----------------------------------------+-----------------------------------
Changes (by dkocher):
* status: new => assigned
* milestone: => 3.5
Old description:
> 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 /
New description:
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 /
}}}
--
Comment:
Thanks for posting a bug report about this regression.
--
Ticket URL: <http://trac.cyberduck.ch/ticket/4126#comment:1>
Cyberduck <http://cyberduck.ch>
FTP, SFTP, WebDAV, Cloud Files and Amazon S3 Browser for Mac OS X.
More information about the Cyberduck-trac
mailing list