All I want is to open my current window as root but all the hits are about adding contextual menu options. How can I open this folder as root just this once?

3 Answers 3

  1. Enter the following command in Terminal io.elementary.files-pkexec
  2. In the old Files window, press ctrl+L to get your current path
  3. In your new Files window, press ctrl+L, paste in the path you just copied, and press enter.

Another way:


It works for Loki and Freya.


This script works on elementary OS Loki to add "Open folder as root" option via pkexec.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.