Emptying deleted symbolic links in Trash deletes folder contents.

Bug #323321 reported by Gina
38
This bug affects 4 people
Affects Status Importance Assigned to Milestone
Nautilus
Fix Released
Critical
gvfs (Ubuntu)
Fix Released
High
Ubuntu Desktop Bugs
nautilus (Ubuntu)
Invalid
Undecided
Unassigned

Bug Description

Binary package hint: nautilus

When a symbolic link to a folder is moved to Trash and the Trash emptied the contents of the linked folder are lost. The linked folder itself remains but is empty,

System :- Jaunty 64 bit (updated 30 Jan 2009) on AMD64 X2 with ext4 partitions for / and /home

Test Method :-
Create test folder on desktop - create folder within that folder - create link to the test folder. Now Move link to Trash and then empty Trash. Test folder remains but the folder that was inside it is gone - the test folder is empty.

This was reported to me by another user.
See thread in Ubuntu Forums :- http://ubuntuforums.org/showthread.php?p=6646177#post6646177

Possible related bug :-
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/317781/comments/15 - Ext4 data loss

Related branches

Revision history for this message
Tommaso R. Donnarumma (tawmas) wrote :

For alternate reproduction recipe and apport-generated dependencies, see duplicate bug #323317.
Marking confirmed.

Changed in nautilus:
status: New → Confirmed
Revision history for this message
Chris Coulson (chrisccoulson) wrote :

Not confirming here on ext3. Could you please try deleting the symlink from your ~/.local/share/Trash/files folder with "rm" and see if that follows the symlink too?

Changed in nautilus:
status: Confirmed → Incomplete
Revision history for this message
Tommaso R. Donnarumma (tawmas) wrote :

I'm going to do at once.

BTW, I've just found that the link must be an absolute, not relative one, for this to happen. Did you try with an absolute or a relative link?

Revision history for this message
Pedro Villavicencio (pedro) wrote :

Confirmed, seems bug http://bugzilla.gnome.org/show_bug.cgi?id=512144 re appeared, will comment upstream, thanks.

Changed in nautilus:
assignee: nobody → desktop-bugs
importance: Undecided → High
milestone: none → ubuntu-9.04
status: Incomplete → Triaged
Changed in nautilus:
status: Unknown → New
Revision history for this message
Tommaso R. Donnarumma (tawmas) wrote :

I don't know if this is still useful, however neither rm nor rm -r follow the symlink.

Revision history for this message
Gina (ginalinux) wrote :

Yes, that fits it perfectly. Thanks.

Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package gvfs - 1.1.4-0ubuntu3

---------------
gvfs (1.1.4-0ubuntu3) jaunty; urgency=low

  * debian/patches/93_svn_change_fix_trash_enumerate_issue.patch:
    - svn change to fix trashing issue (lp: #323321)

 -- Sebastien Bacher <email address hidden> Fri, 30 Jan 2009 22:47:26 +0100

Changed in gvfs:
status: Triaged → Fix Released
Changed in nautilus:
status: New → Fix Released
Revision history for this message
Allison Karlitskaya (desrt) wrote :

The bug was in gvfs.

Changed in nautilus:
status: New → Invalid
Changed in nautilus:
importance: Unknown → Critical
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

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