Ask Ubuntu is a question and answer site for Ubuntu users and developers. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Every time I try to make an edition one that is required i keep getting access denied.

  • I wanted to edit a text file I used notepad, access denied me from saving it.

  • I used limbra, access denied me from saving it.

  • I used Terminal to try copying the file into the Apache folder in etc, access denied it from copying.

  • I used vim to edit the file through Terminal, access denies me again from saving the file.

I don't understand. Am I not supposed to have this access?

What do I do now?

share|improve this question
ONLY edit files in /etcif you know what you are doing. Files are quite sensitive in there. – Jacob Vlijm Apr 27 '14 at 12:34

makesure u are root.


sudo gedit /etc/file.txt

share|improve this answer
i made myself root, and do i have to install gedit – user274143 Apr 27 '14 at 15:20
i dd and it is workin – user274143 Apr 27 '14 at 15:27

You can have root access with the command

gksu nautilus

This gives you a GUI access of the files in root.But be careful with what you change in there.

share|improve this answer
gksu provided me with a warning that.. (gksu:4370): Gtk-WARNING **: cannot open display – user274143 Apr 27 '14 at 15:21

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.