GNOME Bugzilla – Bug 565610
Replacing folder with file from within that folder destroys both.
Last modified: 2009-02-18 16:07:13 UTC
Please describe the problem: If folder containing a file both have the same name, and you try replacing the folder with the file, both will be destroyed. Steps to reproduce: 1. $ mkdir ~/foo 2. $ touch ~/foo/foo 3. Move (or copy) file "foo" from "foo" to home directory using nautilus and choose to replace when dialog pops up. Actual results: Both file and folder are destroyed. Expected results: The file to survive. Ether to be moved correctly or the operation canceled with an error message. Does this happen every time? Yes. Other information:
Confirming and setting GNOME target 2.26.x, it's not nice to have data loss.
Created attachment 128983 [details] [review] Show error if overwriting the source
commited.