Folder is overwritten with a file with the same name
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
nautilus (Ubuntu) |
Triaged
|
Medium
|
Unassigned |
Bug Description
Upstream report:
https:/
Binary package hint: nautilus
1) lsb_release -rd
Description: Ubuntu Vivid Vervet (development branch)
Release: 15.04
2) apt-cache policy nautilus
nautilus:
Installed: 1:3.14.2-0ubuntu2
Candidate: 1:3.14.2-0ubuntu2
Version table:
*** 1:3.14.2-0ubuntu2 0
500 http://
100 /var/lib/
3) What is expected to happen is when one executes the following in a terminal:
cd ~/Desktop
mkdir test
cd
touch test
then uses Nautilus to copy the file test to the Desktop, it does not allow this, just like it won't when using cp in a terminal:
cp test Desktop/
sudo cp test Desktop/
cp: cannot overwrite directory ‘Desktop/test’ with non-directory
or if one was using Windows.
4) What happens instead is one gets a prompt noting:
File Conflict
Replace folder "test"?
A folder with the same name already exists on "desktop".
Replacing it will remove all files in the folder.
Select a new name for the destination
Apply this action to all files
Cancel Skip Replace
and if one accidentally hit the button Replace, the folder with all of its contents are permanently deleted, and replaced with the file.
ProblemType: Bug
Architecture: i386
Date: Sun Mar 25 11:49:14 2007
DistroRelease: Ubuntu 7.04
Uname: Linux acer 2.6.20-12-generic #2 SMP Wed Mar 21 20:55:46 UTC 2007 i686 GNU/Linux
Changed in nautilus: | |
status: | Unknown → Unconfirmed |
Changed in nautilus: | |
status: | Confirmed → Incomplete |
Changed in nautilus: | |
status: | New → Confirmed |
Changed in nautilus: | |
importance: | Unknown → Medium |
tags: | added: trusty |
description: | updated |
Changed in nautilus: | |
importance: | Medium → High |
Changed in nautilus: | |
status: | Confirmed → Invalid |
no longer affects: | nautilus (Ubuntu) |
affects: | nautilus → nautilus (Ubuntu) |
Changed in nautilus (Ubuntu): | |
importance: | High → Undecided |
status: | Invalid → New |
importance: | Undecided → Medium |
status: | New → Triaged |
description: | updated |
I've just tested and I get a warning saying that the folder already exists