I was getting sick of having to sudo every command in my web development folder (/var/www) so I tried to change the permissions to 777. The function seemingly worked (that is, gave no error), although I still wasn't able to edit any of the documents without root access.
Anyway, this isn't really a problem, I just thought I'd give it a shot. The trouble is, now, when I direct my browser to localhost, I get a 403. I presume it has to do with my modifying permissions, although, having changed it to 777, I can't see what permissions it could be lacking. Have I perhaps changed the owner or something similar?
Thanks in advance for any help.