On a Ubuntu Server 10.10 box, I seem to require root access to use git pull (in my /var/www directory). error: cannot open .git/FETCH_HEAD: Permission denied.
I have tried chmodding 0777 /var/www and /var/www/.git, and chowning both of these to my account, to no avail.