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 657055 - Trash folder doesn't work for root user
Trash folder doesn't work for root user
Status: RESOLVED NOTABUG
Product: gvfs
Classification: Core
Component: trash backend
1.10.x
Other Linux
: Normal normal
: ---
Assigned To: Allison Karlitskaya (desrt)
gvfs-maint
Depends on:
Blocks:
 
 
Reported: 2011-08-22 04:41 UTC by Jeremy Bicha
Modified: 2014-06-07 11:50 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Jeremy Bicha 2011-08-22 04:41:53 UTC
Originally reported at https://bugs.launchpad.net/ubuntu/+source/nautilus/+bug/494082

Launching Nautilus as root and then clicking on the Trash icon results in this error:

***
The folder contents could not be displayed.
Sorry, could not display all the contents of "trash": Operation not supported
***
Comment 1 Rodrigo Silva 2011-11-30 09:54:48 UTC
Confirmed for Nautilus 2.32.0 (using Linux Mint 10 and Ubuntu 10.10 Maverick), didn't test for 3.x
Comment 2 Cosimo Cecchi 2011-12-02 22:56:48 UTC
-> gvfs

Not a Nautilus bug, but a GVfs trash backend one.

Actually, I'm not even sure this is a bug at all, since running Nautilus as root inside an user session is not really supported; I think what's happening is gvfs tries to use the existing gvfsd and gvfsd-trash in the session (which have user privileges) which fails.
Comment 3 Allison Karlitskaya (desrt) 2011-12-02 22:58:32 UTC
I gotta figure gio is attempting to talk to gvfsd over dbus and that's not working out between root and the user...
Comment 4 Ross Lagerwall 2014-06-07 11:50:21 UTC
Yeah, this is not supported. See the section "Running applications under root" in https://wiki.gnome.org/Projects/gvfs/doc