Bug 472972 - Moving a Soft Link Moves the Target File
Summary: Moving a Soft Link Moves the Target File
Status: RESOLVED DUPLICATE of bug 464225
Alias: None
Product: dolphin
Classification: Applications
Component: general (show other bugs)
Version: 23.04.2
Platform: Other Linux
: NOR normal
Target Milestone: ---
Assignee: Dolphin Bug Assignee
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-08-03 18:37 UTC by Riki Heck
Modified: 2023-08-04 07:45 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Riki Heck 2023-08-03 18:37:54 UTC
If I have a soft link in a directory and drag it to a different directory, then what happens, very unexpectedly, is that the target file itself is moved to that directory and deleted from its original location. 

I.e., suppose I have in my home directory a link myfile.txt whose target is /tmp/realfile.txt. If I drag that link to, say, $HOME/tmp/, then what happens is that realfile.txt gets moved to $HOME/tmp/. So /tmp/realfile.txt no longer exists, and the link itself disappears.

To say this is unexpected would be an understatement. If the original file was on a shared drive, it could effectively lead to data loss for other users.

I am reasonably confident it did not always work this way.
Comment 1 Paul Worrall 2023-08-04 07:45:43 UTC

*** This bug has been marked as a duplicate of bug 464225 ***