I'm very new to Linux and Ubuntu. I just installed a Drupal site locally on my machine for development purposes only. However, the only way I seem to be able to edit files is by running 'sudo nano '. That's really a pain. I'd like to be able to just open files in gdedit (for example) and edit and save them there.
I have drupal installed in a directory on /var/www that we'll call 'drupal'. It has tons of directories and files inside. I need to be able to give myself access to edit anything in there.
How can I give myself permissions to edit files in my drupal site at /var/www/drupal?