0

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?

Zanna
  • 72,312

2 Answers2

2

Make sure you have root privilege.

Try:

sudo -H gedit /etc/file.txt
Zanna
  • 72,312
Saad
  • 643
0

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.