# Using Nautilus with root permission (script)

Linux @ 05 February 2011

Taken from here.

how to open files as root user via right click

Insert the following lines into the new file

for uri in $NAUTILUS_SCRIPT_SELECTED_URIS; do
gksudo "gnome-open $uri" &
done

Save the file and make it executable:

chmod +x $HOME/.gnome2/nautilus-scripts/Open\ as\ root

Leave a Reply

*