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 690409 - Allow opening folders as root
Allow opening folders as root
Status: RESOLVED DUPLICATE of bug 658523
Product: nautilus
Classification: Core
Component: Extension Library
unspecified
Other Linux
: Normal normal
: ---
Assigned To: Nautilus Maintainers
Nautilus Maintainers
Depends on:
Blocks:
 
 
Reported: 2012-12-18 12:18 UTC by nodiscc
Modified: 2013-01-27 14:13 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description nodiscc 2012-12-18 12:18:58 UTC
Hi, there used to be an "open as root" menu entry in the menu displayed when right-clicking on a directory. This feature was useful in many cases, when the user wanted to edit files with elevated permissions for example (rather than resorting to sudo in a terminal). Please make "Open as administrator" available through the right-click menu.

This has been implemented in Nemo (a fork of nautilus by the cinnamon team). Relevant commits:

  * Added "open as root" https://github.com/linuxmint/nemo/commit/3ae9ef18cfdf562b233cc71d4c41907c893c15a6
  * Finished implementation of "open as root"  https://github.com/linuxmint/nemo/commit/cbf59615a77f1afaf31882fa78543edd70b32fff
  * Changed position of open terminal and open as root https://github.com/linuxmint/nemo/commit/edab84c99de1a9dedfbb4855e988288bcad0c5df
  * Call nemo rather than xdg-open when invoking open-as-root https://github.com/linuxmint/nemo/commit/7cd8b48ec7977f7666a0fd33e4d05f73f9b5a55f
  * Hide Open As Root if we're already in an elevated window.  https://github.com/linuxmint/nemo/commit/0a48f34f09d701a34f754139dbf614969a297fbe

There should be a very visible banner informing the user nautilus is running as root. This has been implemented too:

  * Show a banner reminding the user they have elevated privileges and bad things could happen, when nemo is open as root https://github.com/mtwebster/nemo/commit/2a302702555042fac002eeb6288a5f3532c2e5ec

Please consider implementing this, the linked commits should get most work done. Thanks
Comment 1 António Fernandes 2013-01-27 14:13:50 UTC
Thanks for the bug report. This particular bug has already been reported into our bug tracking system, but please feel free to report any further bugs you find.

*** This bug has been marked as a duplicate of bug 658523 ***