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?
- Enter the following command in Terminal
io.elementary.files-pkexec
- In the old Files window, press ctrl+L to get your current path
- In your new Files window, press ctrl+L, paste in the path you just copied, and press enter.
Another way:
http://ubuntuhandbook.org/index.php/2015/02/open-as-root-elementary-os-freya/
It works for Loki and Freya.
This script works on elementary OS Loki to add "Open folder as root" option via pkexec
.