chmod +x /home/git/repositories/yourproject/hooks/post-receive
chown -R gitolite:$APP /path/to/project
find /path/to/project -type f -exec chmod 640 {} \; find /path/to/project \; find -type d -exec chmod 750 /path/to/project {} \;
* It's also a good thing to have a check of the database when you launch the application, and automatically create it if it doesn't yet exist.