← Back to team overview

desktop-packages team mailing list archive

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

 

** Description changed:

  Binary package hint: nautilus
  
- SUMMARY
+ 1) lsb_release -rd
+ Description:	Ubuntu 14.04.1 LTS
+ Release:	14.04
  
- If you copy a file with the same name ("Photos", no extension) to a
- folder which contains a folder ("~") with the same name ("Photos"), the
- folder "Photos" will be overwritten completely
+ 2) apt-cache policy nautilus
+ nautilus:
+   Installed: 1:3.10.1-0ubuntu9.4
+   Candidate: 1:3.10.1-0ubuntu9.4
+   Version table:
+  *** 1:3.10.1-0ubuntu9.4 0
+         500 http://us.archive.ubuntu.com/ubuntu/ trusty-updates/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
  
- This is how I lost all my photos  (guys, DO backup!)
+ 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

-- 
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:
  Invalid

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