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.

This site is temporarily in read-only mode and not accepting new answers.

Not the answer you're looking for? Browse other questions tagged .