Permissions/Owernship issue on local LAMP install

view full story

http://serverfault.com – I have a local dev environment set up with a LAMP stack, it's used for WordPress development. Now, whenever I want to edit a file in /var/www/mysite I need to type in sudo before I can edit anything. This is obviously a unnecessary, and I was wondering what I need to set up to fix this issue. (HowTos)