[Cyberduck-trac] [Cyberduck] #995: Symbolic links on local side are not handled properly
Cyberduck
trac at trac.cyberduck.ch
Tue Jan 16 02:51:52 CET 2007
#995: Symbolic links on local side are not handled properly
------------------------+---------------------------------------------------
Reporter: simonvwade | Owner: dkocher
Type: defect | Status: new
Priority: highest | Milestone:
Component: core | Version: 2.7.2
Severity: critical | Keywords:
------------------------+---------------------------------------------------
When you download a file and overwrite a file that is a symbolic link on
the local machine Cyberduck does something very weird. It should open a
file pointer on the symbolic link and the filesystem will handle writing
the contents of the file to the location that is referred to by the
symbolic link.
Example:
In Terminal:
{{{
cd ~/tmp
echo "Hello world" > file.txt
ln -s file.txt link.txt
ls -al
}}}
In Cyberduck:
{{{
Upload link.txt
Download link.txt
}}}
In Terminal:
{{{
cd ~/tmp
ls -al
}}}
See that file.txt has now become a symbolic link to 'Hello world?' - it's
not even a file anymore.
Thanks for a great FTP client!
Simon
--
Ticket URL: <http://trac.cyberduck.ch/ticket/995>
Cyberduck <http://cyberduck.ch>
FTP and SFTP Browser for Mac OS X.
More information about the Cyberduck-trac
mailing list