PATCH: Bug 73440: Konq deletes files when dragging

Andras Mantia amantia at kde.org
Tue Mar 2 15:10:06 GMT 2004


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Sunday 15 February 2004 18:21, Dirk Mueller wrote:
> I think this patch is wrong. You *can* write to a symlink, and it *has to*
> overwrite the *destination* of the symlink.
>
> Otherwise whenever you overwrite a file that has a symlink in its path,
> you're actually "detaching" it and you have two different files afterwards.
> that is wrong.


I've just run into this, although I'm not sure that it was because of this 
commit (it was with Kompare when applying a change to a symlink. The original 
file was not changed, but the symlink). But it's very bad if during a change 
or overwrite if the symlink is changed and not the file it points to. I've 
tried the edit in MC, it changes the original file. Overwrite in MC changes 
the original file. Overwrite with cp in a shell changes the original file.
 I think we can assume that a regular user would like to see that KDE behaves 
also like the other applications and changes the original file, and does not 
unlink the symlink and overwrite the symlink itself as it does now (just 
tested in Konqueror).

Andras

- -- 
Quanta Plus developer - http://quanta.sourceforge.net
K Desktop Environment - http://www.kde.org
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.2 (GNU/Linux)

iD8DBQFARKPOTQdfac6L/08RAp2bAKC51HtyXvgxKJeuCIUoJK3k8ohJ1QCghhbY
aH/QLRFpZ824ZaysTDxPnJE=
=y9/B
-----END PGP SIGNATURE-----




More information about the kde-core-devel mailing list