Thunar: cut & paste through a symbolic link pointing to the same folder of the origin will cause data loss
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Thunar File Manager |
Confirmed
|
Medium
|
|||
thunar (Ubuntu) |
Triaged
|
Medium
|
Unassigned |
Bug Description
1) create a folder in your home and a symbolic link pointing to it:
$ mkdir ~/orig
$ ln -sT ~/orig dest
2) create a test file in the original folder:
$ touch ~/orig/test.txt
3) 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*
4) 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*
5) a confirmation window will open ... choose *replace* to go on
6) 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 tried other file mangers (Nautilus Elementary 2.32.2 and PCManFM 0.9.7) always on Lubuntu 10.10 and they are ok (they do not remove the original file)
description: | updated |
description: | updated |
description: | updated |
description: | updated |
Changed in thunar: | |
importance: | Unknown → Medium |
status: | Unknown → Confirmed |
Thanks for your bug report.
I can reproduce with 1.2.2 also. I'll forward it upstream later.