Changing file on Ubuntu permissions error

I'm a total beginner at Linux/Ubuntu.

I need to edit a file and upon saving I get this error. How can I grant myself permissions to edit the file? It is an instance on Amazon Web Service and only have the one user name when creating the instance which as far as I know should have full root access.
 permissions error
Who is Participating?
woolmilkporcConnect With a Mentor Commented:

sudo gedit ... ...

If configured for your userid this will give you root privileges.
GerhardpetAuthor Commented:
That worked. Thanks for the help!
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.