How to open admin and folder permissions in Nautilus

In Nautilus on Ubuntu, users can view all files and folders on their system. Sometimes you may want to edit the basic file configuration like when installing for other programs. But there are some system files and folders that you cannot open and edit from Nautilus unless you are open as Administrator.

Before Ubuntu 17.10, you can use the gksu or gksudo command to open Nautilus with Admin rights and then open the files and folders as an administrator from within that Nautilus window. However, these two commands have been removed from Ubuntu since version 17.10. So how do you open files and folders as Administrators in Ubuntu 17.10 and Ubuntu 18.04?

Today, we will show you how to add two options to the right-click menu, allowing you to open the folder and edit the file as an administrator.

Note: The instructions in this article apply only to Ubuntu operating system versions 17.10 and 18.04.

Add Nautilus Admin to the Nautilus Right-Click menu

To add options to open files and folders with Administrator rights on the right-click menu, we will have to install Nautilus Admin.

Press Ctrl + Alt + T to open the Terminal window. Then, type the following command and press Enter .

 sudo apt-get install nautilus-admin 

How to open admin and folder permissions in Nautilus Picture 1

Enter the password when the reminder message appears.

When asked if you want to continue, enter ' y ' (lowercase or uppercase) and press Enter .

How to open admin and folder permissions in Nautilus Picture 2

When the installation process finishes, you must restart Nautilus. Enter the following command and press Enter .

 nautilus -q 

To close the Terminal window, type ' exit ' at the prompt and press Enter or press the X button in the upper right corner of the window.

How to open admin and folder permissions in Nautilus Picture 3

How to open files and folders as an administrator

To open a folder in Nautilus with administrative rights, right-click on the folder and select Open as Administrator .

A new Nautilus window opens with administrator rights and the folder you selected will open.

How to open admin and folder permissions in Nautilus Picture 4

To edit a file that requires administrator privileges from within Nautilus, right-click on the file and select Edit as Administrator .

For example, this option is often used to open text files in gedit with administrator privileges.

How to open admin and folder permissions in Nautilus Picture 5

Note to use administrator privileges very carefully

Do you run Nautilus with administrative rights and open files and folders that need administrative rights? If you have done this, be very careful. Do not edit the file system if you do not have to do it. This may result in system shutdown.

Share your experiences and thoughts with us on this issue!

See more:

  1. Some features in Nautilus may be unknown
  2. Tips and tricks after installing Ubuntu
  3. Enable Root account in Ubuntu
3.8 ★ | 6 Vote

May be interested

  • Instructions for fixing errors: 'You Have Been Denied Permission To Access This Folder' on Windows 10Instructions for fixing errors: 'You Have Been Denied Permission To Access This Folder' on Windows 10
    lỗi 'bạn đã được phép phép phép phép truy cập này folder. to gain access to this folder you will need to use the security tab 'appear when you try to access a protected system folder on windows 10 or previous windows operating systems. for example, if you try to access the windowsapps folder, then you will receive an error message on the screen.
  • Why should you always check app permissions before pressing install?Why should you always check app permissions before pressing install?
    taking a moment to review your app permissions can save you a lot of privacy and security problems later on!
  • How to assign permissions to delete any folder or file on Windows?How to assign permissions to delete any folder or file on Windows?
    in some cases when you delete a folder or file on a windows computer but cannot delete it and on the screen that displays an error message you need permission to perform this action. in order to be able to delete folders and files, you must assign permission permissions to delete them.
  • How to access WindowsApps folder on Windows 10 and Windows 8?How to access WindowsApps folder on Windows 10 and Windows 8?
    when downloading and installing an application from the windows store, by default windows will use the windowsapps folder located in c: program files to store all the installation files of the application you install. by default the windowsapps folder is hidden and users cannot access and use it when needed. and whenever you open the folder, on the screen you will get an error message: you don't currently have permission to access this folder.
  • The best treadmill of 2020: NordicTrack, Nautilus, Peloton and moreThe best treadmill of 2020: NordicTrack, Nautilus, Peloton and more
    i spent three months testing treadmills so you don't have to.
  • How to open a folder on a Mac using a command in TerminalHow to open a folder on a Mac using a command in Terminal
    the method of accessing folders using terminal is a bit more complicated than navigating in the finder you would normally do.
  • How to set a default folder opening in Finder on MacHow to set a default folder opening in Finder on Mac
    finder represents your access to all files on a mac. by default, finder will open the recents folder. but, if you usually work in a different folder, you can change the default open folder when you open finder.
  • Managing Public Folder replication and client permissions with scripts - Part 1Managing Public Folder replication and client permissions with scripts - Part 1
    this series will introduce you to exchange server 2007 scripts for managing public folder replicas and client permissions.
  • How to Open Zip FilesHow to Open Zip Files
    today's tipsmake will show you how to open and extract a zip folder on your computer, smartphone or tablet. zip folders are used to compress files into lighter versions to facilitate storage and transmission. to view and use files in a zip folder in the proper format, you need to extract (or 'unzip') the zip folder into a regular folder.
  • Open folder in Command Prompt (CMD)Open folder in Command Prompt (CMD)
    do you need to access a certain folder from the command prompt or windows command prompt? although it looks classic, this program is really easy to use if you know some basic commands. today's tipsmake will show you how to use the 'cd' command to open a folder in windows command prompt. besides, you will also learn great tips to immediately open the command prompt in any folder on windows file explorer.