[Desktop-packages] [Bug 1656370] Re: merging symbolic link with target folder of same name destroys folder
Fixed in Artful. ** Changed in: nautilus (Ubuntu) Status: Triaged => Fix Released -- You received this bug notification because you are a member of Desktop Packages, which is subscribed to nautilus in Ubuntu. https://bugs.launchpad.net/bugs/1656370 Title: merging symbolic link with target folder of same name destroys folder Status in Nautilus: Fix Released Status in nautilus package in Ubuntu: Fix Released Bug description: I recently lost a directory full of valuable files. I'm running ubuntu 16.04 and using nautilus 3.14.3 Here's how to replicate this bug. From a terminal window starting in my home directory: mkdir useful cd useful touch stuff1.txt touch stuff2.txt cd ../Desktop ln -s ../useful/ useful Now I have a symbolic link on my desktop "useful" that links to directory "useful" containing two files. From nautilus: - Go to Desktop, select the link useful - press Ctrl-X to copy - Go to Home - press Ctrl-V to paste - dialog box appears: Merge folder "useful" - press Merge button (the default) directory useful has now been replaced with a symbolic link pointing to itself, and all its contents are gone. Now in nautilus I press Ctrl-Z to undo. Symbolic link "useful" reappears on the Desktop, but the target folder is not reconstructed. Why is this a important bug: 1. Merge dialog gives no indication that the source is a symbolic link. Instead it asks the user if wants to merge the files in two folders. 2. Continuing with the merge is the default option. 3. After the merge the symbolic link survives and the folder and its contents are utterly gone. They cannot be found in the trash. 4. Undo does not restore the folder or its files, just relocates the symbolic link. To manage notifications about this bug go to: https://bugs.launchpad.net/nautilus/+bug/1656370/+subscriptions -- Mailing list: https://launchpad.net/~desktop-packages Post to : desktop-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~desktop-packages More help : https://help.launchpad.net/ListHelp
[Desktop-packages] [Bug 1656370] Re: merging symbolic link with target folder of same name destroys folder
** Changed in: nautilus (Ubuntu) Assignee: (unassigned) => FanJun Kong - ( BH1SCW ) (fjkong) -- You received this bug notification because you are a member of Desktop Packages, which is subscribed to nautilus in Ubuntu. https://bugs.launchpad.net/bugs/1656370 Title: merging symbolic link with target folder of same name destroys folder Status in Nautilus: Fix Released Status in nautilus package in Ubuntu: Triaged Bug description: I recently lost a directory full of valuable files. I'm running ubuntu 16.04 and using nautilus 3.14.3 Here's how to replicate this bug. From a terminal window starting in my home directory: mkdir useful cd useful touch stuff1.txt touch stuff2.txt cd ../Desktop ln -s ../useful/ useful Now I have a symbolic link on my desktop "useful" that links to directory "useful" containing two files. From nautilus: - Go to Desktop, select the link useful - press Ctrl-X to copy - Go to Home - press Ctrl-V to paste - dialog box appears: Merge folder "useful" - press Merge button (the default) directory useful has now been replaced with a symbolic link pointing to itself, and all its contents are gone. Now in nautilus I press Ctrl-Z to undo. Symbolic link "useful" reappears on the Desktop, but the target folder is not reconstructed. Why is this a important bug: 1. Merge dialog gives no indication that the source is a symbolic link. Instead it asks the user if wants to merge the files in two folders. 2. Continuing with the merge is the default option. 3. After the merge the symbolic link survives and the folder and its contents are utterly gone. They cannot be found in the trash. 4. Undo does not restore the folder or its files, just relocates the symbolic link. To manage notifications about this bug go to: https://bugs.launchpad.net/nautilus/+bug/1656370/+subscriptions -- Mailing list: https://launchpad.net/~desktop-packages Post to : desktop-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~desktop-packages More help : https://help.launchpad.net/ListHelp
[Desktop-packages] [Bug 1656370] Re: merging symbolic link with target folder of same name destroys folder
The bug is fixed upstream. Please consider backporting to Xenial. ** Tags added: xenial -- You received this bug notification because you are a member of Desktop Packages, which is subscribed to nautilus in Ubuntu. https://bugs.launchpad.net/bugs/1656370 Title: merging symbolic link with target folder of same name destroys folder Status in Nautilus: Fix Released Status in nautilus package in Ubuntu: Triaged Bug description: I recently lost a directory full of valuable files. I'm running ubuntu 16.04 and using nautilus 3.14.3 Here's how to replicate this bug. From a terminal window starting in my home directory: mkdir useful cd useful touch stuff1.txt touch stuff2.txt cd ../Desktop ln -s ../useful/ useful Now I have a symbolic link on my desktop "useful" that links to directory "useful" containing two files. From nautilus: - Go to Desktop, select the link useful - press Ctrl-X to copy - Go to Home - press Ctrl-V to paste - dialog box appears: Merge folder "useful" - press Merge button (the default) directory useful has now been replaced with a symbolic link pointing to itself, and all its contents are gone. Now in nautilus I press Ctrl-Z to undo. Symbolic link "useful" reappears on the Desktop, but the target folder is not reconstructed. Why is this a important bug: 1. Merge dialog gives no indication that the source is a symbolic link. Instead it asks the user if wants to merge the files in two folders. 2. Continuing with the merge is the default option. 3. After the merge the symbolic link survives and the folder and its contents are utterly gone. They cannot be found in the trash. 4. Undo does not restore the folder or its files, just relocates the symbolic link. To manage notifications about this bug go to: https://bugs.launchpad.net/nautilus/+bug/1656370/+subscriptions -- Mailing list: https://launchpad.net/~desktop-packages Post to : desktop-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~desktop-packages More help : https://help.launchpad.net/ListHelp
[Desktop-packages] [Bug 1656370] Re: merging symbolic link with target folder of same name destroys folder
** Changed in: nautilus Status: Confirmed => Fix Released -- You received this bug notification because you are a member of Desktop Packages, which is subscribed to nautilus in Ubuntu. https://bugs.launchpad.net/bugs/1656370 Title: merging symbolic link with target folder of same name destroys folder Status in Nautilus: Fix Released Status in nautilus package in Ubuntu: Triaged Bug description: I recently lost a directory full of valuable files. I'm running ubuntu 16.04 and using nautilus 3.14.3 Here's how to replicate this bug. From a terminal window starting in my home directory: mkdir useful cd useful touch stuff1.txt touch stuff2.txt cd ../Desktop ln -s ../useful/ useful Now I have a symbolic link on my desktop "useful" that links to directory "useful" containing two files. From nautilus: - Go to Desktop, select the link useful - press Ctrl-X to copy - Go to Home - press Ctrl-V to paste - dialog box appears: Merge folder "useful" - press Merge button (the default) directory useful has now been replaced with a symbolic link pointing to itself, and all its contents are gone. Now in nautilus I press Ctrl-Z to undo. Symbolic link "useful" reappears on the Desktop, but the target folder is not reconstructed. Why is this a important bug: 1. Merge dialog gives no indication that the source is a symbolic link. Instead it asks the user if wants to merge the files in two folders. 2. Continuing with the merge is the default option. 3. After the merge the symbolic link survives and the folder and its contents are utterly gone. They cannot be found in the trash. 4. Undo does not restore the folder or its files, just relocates the symbolic link. To manage notifications about this bug go to: https://bugs.launchpad.net/nautilus/+bug/1656370/+subscriptions -- Mailing list: https://launchpad.net/~desktop-packages Post to : desktop-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~desktop-packages More help : https://help.launchpad.net/ListHelp
[Desktop-packages] [Bug 1656370] Re: merging symbolic link with target folder of same name destroys folder
** Changed in: nautilus Status: Unknown => Confirmed ** Changed in: nautilus Importance: Unknown => Critical -- You received this bug notification because you are a member of Desktop Packages, which is subscribed to nautilus in Ubuntu. https://bugs.launchpad.net/bugs/1656370 Title: merging symbolic link with target folder of same name destroys folder Status in Nautilus: Confirmed Status in nautilus package in Ubuntu: Triaged Bug description: I recently lost a directory full of valuable files. I'm running ubuntu 16.04 and using nautilus 3.14.3 Here's how to replicate this bug. From a terminal window starting in my home directory: mkdir useful cd useful touch stuff1.txt touch stuff2.txt cd ../Desktop ln -s ../useful/ useful Now I have a symbolic link on my desktop "useful" that links to directory "useful" containing two files. From nautilus: - Go to Desktop, select the link useful - press Ctrl-X to copy - Go to Home - press Ctrl-V to paste - dialog box appears: Merge folder "useful" - press Merge button (the default) directory useful has now been replaced with a symbolic link pointing to itself, and all its contents are gone. Now in nautilus I press Ctrl-Z to undo. Symbolic link "useful" reappears on the Desktop, but the target folder is not reconstructed. Why is this a important bug: 1. Merge dialog gives no indication that the source is a symbolic link. Instead it asks the user if wants to merge the files in two folders. 2. Continuing with the merge is the default option. 3. After the merge the symbolic link survives and the folder and its contents are utterly gone. They cannot be found in the trash. 4. Undo does not restore the folder or its files, just relocates the symbolic link. To manage notifications about this bug go to: https://bugs.launchpad.net/nautilus/+bug/1656370/+subscriptions -- Mailing list: https://launchpad.net/~desktop-packages Post to : desktop-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~desktop-packages More help : https://help.launchpad.net/ListHelp
[Desktop-packages] [Bug 1656370] Re: merging symbolic link with target folder of same name destroys folder
** Changed in: nautilus (Ubuntu) Status: New => Triaged ** Bug watch added: GNOME Bug Tracker #632323 https://bugzilla.gnome.org/show_bug.cgi?id=632323 ** Also affects: nautilus via https://bugzilla.gnome.org/show_bug.cgi?id=632323 Importance: Unknown Status: Unknown -- You received this bug notification because you are a member of Desktop Packages, which is subscribed to nautilus in Ubuntu. https://bugs.launchpad.net/bugs/1656370 Title: merging symbolic link with target folder of same name destroys folder Status in Nautilus: Unknown Status in nautilus package in Ubuntu: Triaged Bug description: I recently lost a directory full of valuable files. I'm running ubuntu 16.04 and using nautilus 3.14.3 Here's how to replicate this bug. From a terminal window starting in my home directory: mkdir useful cd useful touch stuff1.txt touch stuff2.txt cd ../Desktop ln -s ../useful/ useful Now I have a symbolic link on my desktop "useful" that links to directory "useful" containing two files. From nautilus: - Go to Desktop, select the link useful - press Ctrl-X to copy - Go to Home - press Ctrl-V to paste - dialog box appears: Merge folder "useful" - press Merge button (the default) directory useful has now been replaced with a symbolic link pointing to itself, and all its contents are gone. Now in nautilus I press Ctrl-Z to undo. Symbolic link "useful" reappears on the Desktop, but the target folder is not reconstructed. Why is this a important bug: 1. Merge dialog gives no indication that the source is a symbolic link. Instead it asks the user if wants to merge the files in two folders. 2. Continuing with the merge is the default option. 3. After the merge the symbolic link survives and the folder and its contents are utterly gone. They cannot be found in the trash. 4. Undo does not restore the folder or its files, just relocates the symbolic link. To manage notifications about this bug go to: https://bugs.launchpad.net/nautilus/+bug/1656370/+subscriptions -- Mailing list: https://launchpad.net/~desktop-packages Post to : desktop-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~desktop-packages More help : https://help.launchpad.net/ListHelp
[Desktop-packages] [Bug 1656370] Re: merging symbolic link with target folder of same name destroys folder
the quick fix seems neat and good by the way. -- You received this bug notification because you are a member of Desktop Packages, which is subscribed to nautilus in Ubuntu. https://bugs.launchpad.net/bugs/1656370 Title: merging symbolic link with target folder of same name destroys folder Status in nautilus package in Ubuntu: New Bug description: I recently lost a directory full of valuable files. I'm running ubuntu 16.04 and using nautilus 3.14.3 Here's how to replicate this bug. From a terminal window starting in my home directory: mkdir useful cd useful touch stuff1.txt touch stuff2.txt cd ../Desktop ln -s ../useful/ useful Now I have a symbolic link on my desktop "useful" that links to directory "useful" containing two files. From nautilus: - Go to Desktop, select the link useful - press Ctrl-X to copy - Go to Home - press Ctrl-V to paste - dialog box appears: Merge folder "useful" - press Merge button (the default) directory useful has now been replaced with a symbolic link pointing to itself, and all its contents are gone. Now in nautilus I press Ctrl-Z to undo. Symbolic link "useful" reappears on the Desktop, but the target folder is not reconstructed. Why is this a important bug: 1. Merge dialog gives no indication that the source is a symbolic link. Instead it asks the user if wants to merge the files in two folders. 2. Continuing with the merge is the default option. 3. After the merge the symbolic link survives and the folder and its contents are utterly gone. They cannot be found in the trash. 4. Undo does not restore the folder or its files, just relocates the symbolic link. To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/nautilus/+bug/1656370/+subscriptions -- Mailing list: https://launchpad.net/~desktop-packages Post to : desktop-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~desktop-packages More help : https://help.launchpad.net/ListHelp
[Desktop-packages] [Bug 1656370] Re: merging symbolic link with target folder of same name destroys folder
I can reproduce this bug on 16.10 Nautilus version is 3.20.3 following Michael Black's steps, but there is small mistake: it should be : cd Desktop instead of "cd ../Desktop" -- You received this bug notification because you are a member of Desktop Packages, which is subscribed to nautilus in Ubuntu. https://bugs.launchpad.net/bugs/1656370 Title: merging symbolic link with target folder of same name destroys folder Status in nautilus package in Ubuntu: New Bug description: I recently lost a directory full of valuable files. I'm running ubuntu 16.04 and using nautilus 3.14.3 Here's how to replicate this bug. From a terminal window starting in my home directory: mkdir useful cd useful touch stuff1.txt touch stuff2.txt cd ../Desktop ln -s ../useful/ useful Now I have a symbolic link on my desktop "useful" that links to directory "useful" containing two files. From nautilus: - Go to Desktop, select the link useful - press Ctrl-X to copy - Go to Home - press Ctrl-V to paste - dialog box appears: Merge folder "useful" - press Merge button (the default) directory useful has now been replaced with a symbolic link pointing to itself, and all its contents are gone. Now in nautilus I press Ctrl-Z to undo. Symbolic link "useful" reappears on the Desktop, but the target folder is not reconstructed. Why is this a important bug: 1. Merge dialog gives no indication that the source is a symbolic link. Instead it asks the user if wants to merge the files in two folders. 2. Continuing with the merge is the default option. 3. After the merge the symbolic link survives and the folder and its contents are utterly gone. They cannot be found in the trash. 4. Undo does not restore the folder or its files, just relocates the symbolic link. To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/nautilus/+bug/1656370/+subscriptions -- Mailing list: https://launchpad.net/~desktop-packages Post to : desktop-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~desktop-packages More help : https://help.launchpad.net/ListHelp
[Desktop-packages] [Bug 1656370] Re: merging symbolic link with target folder of same name destroys folder
I reposted this as a comment for Gnome Bugzilla bug #632323, which was opened in 10/2010 and appears to describe an identical problem. Six years in it doesn't seem to have been addressed. Thanks! -- You received this bug notification because you are a member of Desktop Packages, which is subscribed to nautilus in Ubuntu. https://bugs.launchpad.net/bugs/1656370 Title: merging symbolic link with target folder of same name destroys folder Status in nautilus package in Ubuntu: New Bug description: I recently lost a directory full of valuable files. I'm running ubuntu 16.04 and using nautilus 3.14.3 Here's how to replicate this bug. From a terminal window starting in my home directory: mkdir useful cd useful touch stuff1.txt touch stuff2.txt cd ../Desktop ln -s ../useful/ useful Now I have a symbolic link on my desktop "useful" that links to directory "useful" containing two files. From nautilus: - Go to Desktop, select the link useful - press Ctrl-X to copy - Go to Home - press Ctrl-V to paste - dialog box appears: Merge folder "useful" - press Merge button (the default) directory useful has now been replaced with a symbolic link pointing to itself, and all its contents are gone. Now in nautilus I press Ctrl-Z to undo. Symbolic link "useful" reappears on the Desktop, but the target folder is not reconstructed. Why is this a important bug: 1. Merge dialog gives no indication that the source is a symbolic link. Instead it asks the user if wants to merge the files in two folders. 2. Continuing with the merge is the default option. 3. After the merge the symbolic link survives and the folder and its contents are utterly gone. They cannot be found in the trash. 4. Undo does not restore the folder or its files, just relocates the symbolic link. To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/nautilus/+bug/1656370/+subscriptions -- Mailing list: https://launchpad.net/~desktop-packages Post to : desktop-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~desktop-packages More help : https://help.launchpad.net/ListHelp
[Desktop-packages] [Bug 1656370] Re: merging symbolic link with target folder of same name destroys folder
Thank you for taking the time to report this bug and helping to make Ubuntu better. The issue you are reporting is an upstream one and it would be nice if somebody having it could send the bug to the developers of the software by following the instructions at https://wiki.ubuntu.com/Bugs/Upstream/GNOME. If you have done so, please tell us the number of the upstream bug (or the link), so we can add a bugwatch that will inform us about its status. Thanks in advance. ** Changed in: nautilus (Ubuntu) Importance: Undecided => High -- You received this bug notification because you are a member of Desktop Packages, which is subscribed to nautilus in Ubuntu. https://bugs.launchpad.net/bugs/1656370 Title: merging symbolic link with target folder of same name destroys folder Status in nautilus package in Ubuntu: New Bug description: I recently lost a directory full of valuable files. I'm running ubuntu 16.04 and using nautilus 3.14.3 Here's how to replicate this bug. From a terminal window starting in my home directory: mkdir useful cd useful touch stuff1.txt touch stuff2.txt cd ../Desktop ln -s ../useful/ useful Now I have a symbolic link on my desktop "useful" that links to directory "useful" containing two files. From nautilus: - Go to Desktop, select the link useful - press Ctrl-X to copy - Go to Home - press Ctrl-V to paste - dialog box appears: Merge folder "useful" - press Merge button (the default) directory useful has now been replaced with a symbolic link pointing to itself, and all its contents are gone. Now in nautilus I press Ctrl-Z to undo. Symbolic link "useful" reappears on the Desktop, but the target folder is not reconstructed. Why is this a important bug: 1. Merge dialog gives no indication that the source is a symbolic link. Instead it asks the user if wants to merge the files in two folders. 2. Continuing with the merge is the default option. 3. After the merge the symbolic link survives and the folder and its contents are utterly gone. They cannot be found in the trash. 4. Undo does not restore the folder or its files, just relocates the symbolic link. To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/nautilus/+bug/1656370/+subscriptions -- Mailing list: https://launchpad.net/~desktop-packages Post to : desktop-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~desktop-packages More help : https://help.launchpad.net/ListHelp