file copy in nautilus loses data without warning user

Bug #179175 reported by Dan Griffin
6
Affects Status Importance Assigned to Milestone
nautilus (Ubuntu)
Fix Released
Undecided
Unassigned

Bug Description

Nautilus fails to provide error messages to user indicating that a file copy has failed, leading to data loss.

It appears that Nautius stops a copy operation when initiated from the right-click context menu 'Copy' option if an error occurs without informing the user that this is the case.

This is particularly a problem if the user is copying large directory trees and somewhere in that tree is a folder that has permissions that prevent the user from traversing into that directory. The entire copy will fail silently and the user will be left with an incomplete copy but not necessarily aware of this. This is critical if they are relying on the nautilus browser for backup.

To reproduce this problem:

1. Open a terminal
2. ensure you are in your home directory and are a normal, non-root user
3. enter the following commands:
4. 'mkdir test'
5. 'cd test'
6. 'mkdir cancopy1 cantcopy cancopy2'
9. 'touch cancopy1/stuff1.txt cancopy2/stuff2.txt cantcopy/stuff3.txt'
10. 'sudo chown -R root.root cantcopy'
11. 'sudo chmod 700 -R cantcopy'
12. From nautilus as the same non-root user, open the test directory and select the three directories created above (cancopy1, cantcopy, cancopy2).
13. Select 'copy' from the right-click context menu.
13. Select 'paste' from the right-click context menu while over the desktop background (to paste to the desktop).
14. You will see that the cancopy1 and cancopy2 directories may or man not be successfully copied over (depending on order in which nautilus copies files) but the cantcopy directory will not and there will be no indication to the user that a copy has failed.

Revision history for this message
Iulian Udrea (iulian) wrote :

Bug confirmed

Revision history for this message
Iulian Udrea (iulian) wrote :

If you want to cut it you will get a warning message, but it's obvious anyway.

Revision history for this message
Iulian Udrea (iulian) wrote :

Thank you for your bug report. Can you please try to reproduce this bug on Hardy, nautilus 2.21.90 ? Please confirm if you get an error message like this one. Thanks!

Iulian Udrea (iulian)
Changed in nautilus:
assignee: nobody → iuli
status: Confirmed → Incomplete
Revision history for this message
Pedro Villavicencio (pedro) wrote :

Confirming the bug is fixed with latest package on Hardy, thanks.

Changed in nautilus:
status: Incomplete → Fix Released
Iulian Udrea (iulian)
Changed in nautilus:
assignee: iuli → nobody
Revision history for this message
Studi8 (beda-gygli) wrote :

I had problems with cut and paste in Nautilus too, this is the best matching but report, so I write the problem here.

When cutting several folders in the home directory with ext3 Filesystem (strg+x) and pasting them (strg+v) to a USB stick or an SD card with FAT filesystem, not all the files are copied. There is no error message and everithing seems ok, until you try to find the files, they are lost. This happens whitout removing the devices, so it's no data loss due to plugging out too early. I cannot provide more informations, because I'm only a user, but it seems to exist since Hardy. More Information in german:
http://forum.ubuntuusers.de/topic/nautilus:-zu-dumm-zum-kopieren/?highlight=nautilus+datenverlust#post-1670893

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.