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 372999 - Trash on encfs file system
Trash on encfs file system
Status: RESOLVED FIXED
Product: gvfs
Classification: Core
Component: trash backend
unspecified
Other All
: Normal normal
: ---
Assigned To: gvfs-maint
gvfs-maint
: 436563 (view as bug list)
Depends on:
Blocks:
 
 
Reported: 2006-11-09 15:45 UTC by Nicolas Bock
Modified: 2017-07-06 13:41 UTC
See Also:
GNOME target: ---
GNOME version: 2.13/2.14



Description Nicolas Bock 2006-11-09 15:45:12 UTC
Please describe the problem:
I encrypt my home folder with encfs, i.e. I mount my home folder with encfs when I log in. I noticed that since I started doing this my trash can doesn't work anymore as before. The icon does not change when I put a file into the trash and when I open the trash the trash appears empty. When I look at ~/.Trash however, all of the files I put into the trash are there. They just don't show up when I open the trash on the desktop. Before I used encfs the trash can worked as it should.

Steps to reproduce:
1. Put a file into the trash
2. The trash icon does not change to indicate that there is something in the trash
3. Opening the trash icon shows an empty trash in nautilus
4. ls ~/.Trash shows the files that are in the trash


Actual results:


Expected results:


Does this happen every time?


Other information:
Comment 1 Nicolas Bock 2006-12-13 15:45:22 UTC
This still doesn't work for version 2.16.3.
Comment 2 A. Walton 2008-11-14 18:59:51 UTC
*** Bug 436563 has been marked as a duplicate of this bug. ***
Comment 3 Richard Laager 2008-11-14 19:00:49 UTC
This is happening to me as well, with an encrypted (ecryptfs) ~/Private on
Ubuntu. The files end up in ~/Private/.Trash-1000 (my UID), but don't show up
in the Trash. I'm on GNOME 2.24.1, which is using GVFS as far as I can tell.
Comment 4 A. Walton 2008-11-14 19:05:14 UTC
At least GIO is working right since the trash is going to the right folder, but this is now probably a GVFS problem with the Trash backend not monitoring the folder.

Reassigning.
Comment 5 Allison Karlitskaya (desrt) 2008-12-20 20:27:07 UTC
Can anyone try with SVN trunk (or the latest unstable release)?

The backend was just rewritten.  If the problem still exists I'll take a closer look at it and make sure it gets solved this cycle.
Comment 6 Chris Coulson 2009-02-28 18:21:48 UTC
I'm confirming that this is still an issue with GVFS 1.1.6
Comment 7 Allison Karlitskaya (desrt) 2009-02-28 21:01:22 UTC
Wait.  ~/.Trash?  This is not where home directory trash is stored anymore...
Comment 8 Chris Coulson 2009-02-28 21:30:43 UTC
Ryan,

I've got a feeling that this bug might have originally been opened against gnome-vfs, and then changed to gvfs later on. For me, I have a ecryptfs mount at ~/Private. When I use Nautilus to delete files from it, the files go in to ~/Private/.Trash-1000/files with a corresponding trashinfo file in ~/Private/.Trash-1000/info, but the trashed files do not appear at trash:///
Comment 9 Ross Lagerwall 2013-10-30 15:58:15 UTC
I have checked and the trash works for a home directory mounted on encfs and for a folder within a home directory mounted on encfs.
Comment 10 Julien Olivier 2017-07-06 13:39:35 UTC
Sorry, but the bug is still there in Nautilus 3.20.4.
Comment 11 Julien Olivier 2017-07-06 13:41:37 UTC
OK, I'm re-opening this as https://bugzilla.gnome.org/show_bug.cgi?id=784612