0

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?

Sage
  • 219

1 Answers1

1

You can change the File/Fodder Permissions

Change File/fodder Permissions by Opening up a Terminal by pressing Ctrl+Alt +TType in

sudo chmod ugo+wrx /var/www/drupal/ -Rf 

More on File Permissions Here

Neil
  • 4,585