Possible Duplicate:
Allow WordPress to Update on Local Apache2 Install
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.