Ubuntu: I can't make any edits in my etc folder [duplicate]



Question:

This question already has an answer here:

Every time I try to edit a file in /etc I get "access denied".

I tried using different text editors and nautilus and I couldn't save or change any files there.

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

What do I do now?


Solution:1

Make sure you have root privilege.

Try:

sudo -H gedit /etc/file.txt  


Solution:2

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.


Note:If u also have question or solution just comment us below or mail us on toontricks1994@gmail.com
Previous
Next Post »