Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

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
1  
ONLY edit files in /etcif you know what you are doing. Files are quite sensitive in there. –  Jacob Vlijm Apr 27 at 12:34

2 Answers 2

makesure u are root.

try

sudo gedit /etc/file.txt

share|improve this answer
    
i made myself root, and do i have to install gedit –  user274143 Apr 27 at 15:20
    
i dd and it is workin –  user274143 Apr 27 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 at 15:21

Your Answer

 
discard

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.