Cut & paste through a symbolic link pointing to the same folder of the origin will cause data loss
Submitted by Lionel Le Folgoc
Assigned to Jannis Pohlmann
Description
The following bug was reported a few days ago on our bugtracker:
-
create a folder in your home and a symbolic link pointing it: $ mkdir ~/orig $ ln -sT ~/orig dest
-
create a test file in the original folder: $ touch ~/orig/test.txt
-
open a Thunar session and go to the original folder ~/orig, cut the test.txt file using the gui, which simply means right-click on the test.txt file and choose cut
-
use Thunar to go to the destination folder ~/dest, which actually is the symbolic link poiting to the same folder of the original one, right-click and choose paste
-
a confirmation window will open ... choose replace to go on
-
a new window with an error will open but at this time the original test.txt file is already deleted, so no matter what you choose at this point.
Tested on Lubuntu 10.10 with Thunar 1.0.2
I've been able to reproduce it with thunar 1.2.3 too. Thanks.