I'm new to Linux and I'm trying to setup a small testing server inside of a VM running Ubuntu Server. I've found the /var/www folder and it should be the one where my Apache documents are stored, in fact if I access my VM's IP I see the index.html page that's stored there.
My problem is that I can't write to that folder.
ls -l returns:
d-w-r-xr-x 2 root root 4096 2011-12-28 16:08 ./
drwxr-xr-x 13 root root 4096 2011-12-28 17:02 ../
-rw-r--r-- 1 root root 177 2011-12-28 16:08 index.html
My user is called gab.
What's the best thing to do when dealing with this folder to allow myself to edit and create files here? Should I create a new group or set myself as the owner of the folder?