File overwrites directory and vice versa
Submitted by h4x..@..ail.de
Assigned to Jannis Pohlmann
Description
When you have a file called abc and you create a directory using thunar which is called abc as well, there is a confirmation dialog (why can a directory overwrite a file?!). When you press Enter by mistake, not only the file is overwritten, but also Thunar is confused and thinks that abc is a file (but it's a directory now). Therefore it's not possible to launch that "file". Vice versa you can create a directory called def and overwrite it with a new file (def). This time the directory doesn't get overwritten and there's no new file called def, only the directory. That's good, because no data is lost, but why does Thunar allow such things?
Version: 1.2.0