After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 71791 - Replace folder behavior leads to irreparable data loss
Replace folder behavior leads to irreparable data loss
Status: RESOLVED DUPLICATE of bug 48085
Product: nautilus
Classification: Core
Component: File and Folder Operations
1.0.x
Other Linux
: Normal enhancement
: 1.1.x
Assigned To: Nautilus Maintainers
Nautilus Maintainers
Depends on:
Blocks:
 
 
Reported: 2002-02-17 20:17 UTC by erikthelephant
Modified: 2004-12-22 21:47 UTC
See Also:
GNOME target: ---
GNOME version: Unversioned Enhancement



Description erikthelephant 2002-02-17 20:17:39 UTC
When copying or moving a folder in Nautilus, if the folder already exists
it prompts you if you want to replace the folder already there.  If you
click yes, this can result in massive, permanent data loss.

Nautilus needs to do one more more of the following:

1) Warn the user more directly that by doing this, they will lose data
permanently

2) Warn the user about each file that is being deleted

3) Move the deleted files (that were in the original folder, but aren't in
the folder being copied over it) to the Trash can

4) Leave such files in the folder.

I made this mistake because I am used to windows, and in windows if you
click yes, it only replaces duplicate files, it doesn't clear out duplicate
folders and then put in new files, i.e.:

if you have a folder with file1, file2, file3 and you copy over it another
folder with the same name with file3, file4, file5, you get:

On windows:  folder contains file1, file2, file3, file4, file5

In nautilus: folder contains file3, file4, file5

And file1 and file2 have been irreversably deleted.  This is very very
scary for users, and very easy to fall into, especially if the user has
migrated from Windows.  I lost data twice like this before figuring out
what was going on.

-Erik
Comment 1 John Fleck 2002-02-17 23:52:30 UTC
I don't know is this is doable in time for GNOME 2, but Erik makes a
good usability case from the viewpoint of a new user that I think is
worth considering if there is time.
Comment 2 Anders Carlsson 2002-02-18 19:07:02 UTC
I suppose we could make the warning message more clear about what happens.
Comment 3 Dave Bordoley [Not Reading Bug Mail] 2002-03-29 08:26:57 UTC

*** This bug has been marked as a duplicate of 48085 ***