← Back to team overview

desktop-packages team mailing list archive

[Bug 95854] Re: Folder is overwritten with a file with the same name

 

TBeholder, thanks for the follow up. The way I was going about it was
not an apples-to-apples test of what was originally reported against in
https://bugs.launchpad.net/ubuntu/+source/nautilus/+bug/95854/comments/4
. I think the edited Bug Description will make it clear to all the scope
of the issue.

Thank you for your understanding.

** Description changed:

  Binary package hint: nautilus
  
  1) lsb_release -rd
- Description:	Ubuntu 14.04.1 LTS
- Release:	14.04
+ Description:	Ubuntu Vivid Vervet (development branch)
+ Release:	15.04
  
  2) apt-cache policy nautilus
  nautilus:
-   Installed: 1:3.10.1-0ubuntu9.4
-   Candidate: 1:3.10.1-0ubuntu9.4
+   Installed: 1:3.14.2-0ubuntu2
+   Candidate: 1:3.14.2-0ubuntu2
    Version table:
-  *** 1:3.10.1-0ubuntu9.4 0
-         500 http://us.archive.ubuntu.com/ubuntu/ trusty-updates/main amd64 Packages
+  *** 1:3.14.2-0ubuntu2 0
+         500 http://us.archive.ubuntu.com/ubuntu/ vivid/main amd64 Packages
          100 /var/lib/dpkg/status
-      1:3.10.1-0ubuntu8 0
-         500 http://us.archive.ubuntu.com/ubuntu/ trusty/main amd64 Packages
  
  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 (Ubuntu)
       Status: Invalid => Triaged

** Tags added: vivid

** Tags added: fiesty

-- 
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/95854

Title:
  Folder is overwritten with a file with the same name

Status in Nautilus:
  Confirmed
Status in nautilus package in Ubuntu:
  Triaged

Bug description:
  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://us.archive.ubuntu.com/ubuntu/ vivid/main amd64 Packages
          100 /var/lib/dpkg/status

  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

To manage notifications about this bug go to:
https://bugs.launchpad.net/nautilus/+bug/95854/+subscriptions