GNOME Bugzilla – Bug 657055
Trash folder doesn't work for root user
Last modified: 2014-06-07 11:50:21 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 ***
Confirmed for Nautilus 2.32.0 (using Linux Mint 10 and Ubuntu 10.10 Maverick), didn't test for 3.x
-> 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.
I gotta figure gio is attempting to talk to gvfsd over dbus and that's not working out between root and the user...
Yeah, this is not supported. See the section "Running applications under root" in https://wiki.gnome.org/Projects/gvfs/doc