GNOME Bugzilla – Bug 375331
Nautilus hangs when used with sudo (dbus related)
Last modified: 2010-07-21 20:53:20 UTC
sudo nautilus --browser just hangs until you kill it with Ctl-C (no nautilus window displayed, no warnings or error messages written to the console). This is with rawhide as of 11/14/06, ie. [vismor@azalea ~]$ rpm -q dbus dbus-1.0.0-1.fc7 [vismor@azalea ~]$ rpm -q nautilus nautilus-2.16.2-5.fc7 [vismor@azalea ~]$ rpm -q gnome-vfs2 gnome-vfs2-2.16.2-2.fc7 [vismor@azalea ~]$ rpm -q gtk2 gtk2-2.10.6-1.fc7 For what it's worth, gedit hangs in a similar manner if you open the file browser. Similar behavior (with console error messages) has been apparent since July 2006. I don't know if this change in behavior is related to the issues at the heart of the recent flame fest between Daniel Stone and Havoc Pennington on the D-Bus list. See Redhat bugzilla for more details including console errors and a backtrace (https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=199748).
Apparently, this behavior is intentional. See the thread http://lists.freedesktop.org/pipermail/dbus/2006-December/006691.html If this is the case, this bug should be closed. Although I suggest prominent documentation of the work-around suggested in the thread. It's not clear to me that most users would expect sudo to fail for all programs using gnome-vfs.
Seems to work in 2.30. Closing as OBSOLETE. Feel free to reopen if you still encounter this problem.