GNOME Bugzilla – Bug 596323
Files deleted on mounted /opt partition don't appear in Trash
Last modified: 2010-04-27 19:36:23 UTC
For some odd reason, if I delete files or folders in a partition I have mounted under /opt, the files/folders do not appear in the Trash folder. They cannot be permanently deleted or restored from the trash. I have read/write access to the partition (because I'm a member of the 'root' group which has read/write permission on the partition) and when I delete files I've created on the partition, a .Trash-1000/ folder is created on the partition (/opt) and under that directory, in the files/ directory, I can see the deleted files. There is also an info/ directory in the .Trash-1000/ directory. However, if I open the Trash folder, the files don't appear there and cannot be manipulated in any way. To permanently delete the files, I just delete the .Trash-1000/ directory.
This bug had been gone for a while, but has reappeared in version 2.29.92.1.
Or maybe it was never gone and I just noticed recently when the files were accumulated. I wonder if this is just something local or a real nautilus bug.
I have the very same problem for probably all mounts. Gnome's trash:/// protocol fails to notice new trash from mounted filesystems. Deleting files on the root drive properly shows trash in nautilus' trash:// folder -- deleting files on mounted filesystems doesn't -- even after refreshing/restarting/rebooting. I first noticed the problem when I added a local bind mount on my linux box, like /media/sdb/Users/user/Downloads on /Users/user/Downloads (where /Users resides on disk sda). By using gvfs-monitor-dir trash:// I noticed, that gvfs seems to not notice deletes on the mount (only the deletes on the root file system were shown). That happens for both, deleting with nautilus, as well with gvfs-trash. More interestingly XFCE's file manager thunar *is able* to display *all* trash from Gnome's various .Trash-<uid> folders. This behaviour occurs with gnome-base/gvfs-1.6.0-r1 gnome-base/nautilus-2.30.0 As for José, manually navigating to the various .Trash-folders and manually deleting the files just works. The same holds for deletion with thunar.
-> gvfs/Trash This seems to be a gvfs bug.
This isn't a bug so much as a "we're not sure we want to support this". *** This bug has been marked as a duplicate of bug 604015 ***