Give TextEditing Root For Locked Files 3

Asked By 20 points N/A Posted on -
qa-featured

On having opened this file, having edited and having tried to save, I have an error that sees something like this.

You do not have appropriate access privileges.

The document “httpd.conf” could not be saved. You do not have appropriate access privileges.

To view or change access privilege selects the item in find and choose file > Get Info.

Experts, I do not know anything about this. It can give some words key to solve this easily.

SHARE
Answered By 30 points N/A #145809

Give TextEditing Root For Locked Files 3

qa-featured
Hello there,
 
In order to change the .cfg files you will need to give yourself a permit for that first.
 
I don't know which editor you are using, so I will give you two ways, choose the one that will work with your text editor.
 
Open the terminal and write one of the following lines:
 
  • sudoedit /path to your file/httpd.conf
  • gksudo <name of your text editor> /path to your file/httpd.conf
 
The first line will open the file in a terminal-based editor like nano, and the second one will open the file in your preferred editor.
 
In either case, you will be prompted to enter your root password and once you enter it you will be able to edit and save your document.
 
Essential Part of your System

Related Questions