Trash is not aware of files deleted from non-home partitions

Bug #676917 reported by Bachsau
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
gvfs (Ubuntu)
Confirmed
Low
Unassigned

Bug Description

Binary package hint: gvfs

When /home is on a separate partition, and the user deletes a file on root, it is moved to /.Trash-1000, but it does not show up in trash, nor is it going to be deleted when the trash emptied.

ProblemType: Bug
DistroRelease: Ubuntu 10.04
Package: gvfs 1.6.1-0ubuntu1build1
ProcVersionSignature: Ubuntu 2.6.32-25.45-generic 2.6.32.21+drm33.7
Uname: Linux 2.6.32-25-generic i686
NonfreeKernelModules: wl
Architecture: i386
Date: Thu Nov 18 11:04:11 2010
InstallationMedia: Ubuntu 10.04.1 LTS "Lucid Lynx" - Release i386 (20100816.1)
ProcEnviron:
 LANGUAGE=de_DE:de:en_US:en
 LANG=de_DE.utf8
 SHELL=/bin/bash
SourcePackage: gvfs

Revision history for this message
Bachsau (bachsau) wrote :
Revision history for this message
Bachsau (bachsau) wrote :

PS: I thought trash might be a part of gvfs, but i don't really know. Could also be part of Nautilus or something other. You will know. ;)

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

Thanks for the report, it has been some time without any response or feedback in this bug report and we are wondering if this is still an issue for you with the latest release of Ubuntu the Natty Narwhal, May you please test with that version and comment back if you're still having or not the issue? Please have a look at http://www.ubuntu.com/download to know how to install that version. Thanks in advance and sorry for the late response.

Changed in gvfs (Ubuntu):
importance: Undecided → Low
status: New → Incomplete
Revision history for this message
Bachsau (bachsau) wrote :

Ubuntu's typical way of solving bugs... Never fix anything, wait a half a year, close the bug and hope that no one submits it again. This is not just an issue for me, it's an issue for everyone.

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

[Expired for gvfs (Ubuntu) because there has been no activity for 60 days.]

Changed in gvfs (Ubuntu):
status: Incomplete → Expired
Revision history for this message
b3nmore (b3nmore) wrote :

This is still an issue with oneiric (gvfs 1.10.0-0ubuntu1), and I would say a serious one. I use a large ext4 partiton for storing multimedia files. When I delete a file via gvfs (thunar, gvfs-trash ...) it will be moved to PARTITION-ROOT/.Trash-$USERID (as it should), but it does not show up in my trash-bin. That means it will not be deleted when emptying the trash. So, if you don't delete those files manually your free disk space keeps shrinking until you completely filled up your partition.

Steps to reproduce:
1. create file in a directory which is on a different partition then $HOME
2. gvfs-trash the file (be sure to have write permission on the partitions root directory)
3. gvfs-ls trash:// does not show it

Btw. list-trash/empty-trash from the trash-cli package lists and empties the trash correctly.

b3nmore (b3nmore)
Changed in gvfs (Ubuntu):
status: Expired → New
b3nmore (b3nmore)
summary: - Trash does not recognize .Trash-1000 on root
+ Trash is not aware of files deleted from non-home partitions
Revision history for this message
Bachsau (bachsau) wrote :

> This is still an issue with oneiric

Wow. Is anybody surprised? I'm not. :/

Revision history for this message
Bachsau (bachsau) wrote :

PS: It is aware of files on non-home partitions, just not root. I know it, because I've got an aditional partition /media/iTunes/

Revision history for this message
b3nmore (b3nmore) wrote :

> PS: It is aware of files on non-home partitions, just not root. I know it, because I've got an aditional partition /media/iTunes/

You're right, we have to differentiate a bit more: It does not work on root (according to Bachsau) and if the partition is mounted on a first level directory (e.g /srv or /mnt).
It does work if it's mounted on any second level directory or higher (e.g. /media/test or /srv/test).

Bachsau (bachsau)
Changed in gvfs (Ubuntu):
status: New → Confirmed
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.