Konqueror deletes file when copy overwrites link
David Faure
faure at kde.org
Wed May 26 20:28:25 BST 2004
On Wednesday 26 May 2004 20:55, Eric Clifford wrote:
> I discovered this the hard way last night in KDE 3.1.4-4 Red Hat 9.0
> Konqueror 3.1-12. It is reproduceable and confirmed on someone
> elses box. I have no way of testing other versions right now.
>
> Problem:
> If you have 2 directorys (dir1 and dir2), file foo.txt in dir1, and a symlink
> in dir2 pointing to dir1/foo.txt
>
> Konqueror doesn't check to see if the source and destination file are
> the same file when you [drag-and-drop > copy here] the file foo.txt into
> dir2 and select [Overwrite] the symlink file. The result is the file foo.txt
> gets overwritten with nothing (zero byte size), you loose the original file.
This is fixed in KDE-3.2.2.
(There is no more overwrite button when source==dest, one can only rename or cancel)
--
David Faure, faure at kde.org, sponsored by Trolltech to work on KDE,
Konqueror (http://www.konqueror.org), and KOffice (http://www.koffice.org).
More information about the kfm-devel
mailing list