I had the same issue, but due to the fact that I changed the path on apache to a folder outside var/www, I started running into problems.
I fixed it by creating a symlink in var/www/html > home/dev/project which seemed to do the trick, without having to change any permissions...