我的文件/文件夹在Laravel框架有什么权限的git部署?

我有CentOS 7 VPS服务器,我想要有我自己的网站。 我有例如在/var/www/shop 。 本网站使用Laravel框架,这是Apache的configuration

 <VirtualHost *:80> ServerName shop.itzena.cz DocumentRoot /var/www/shop/public <Directory /var/www/shop/public> AllowOverride All Order allow,deny Allow from all </Directory> Errorlog /var/log/httpd/shop-error.log CustomLog /var/log/httpd/shop-access.log combined </VirtualHost> 

在我的家目录我有回购目录,我做回购

 mkdir repo && cd repo mkdir eshop.git && cd eshop.git git init --bare 

并为git创buildpost-receive钩子

 #!/bin/sh git --work-tree=/var/www/shop --git-dir=/var/repo/eshop.git checkout -f 

我想从我的本地主机自动部署到我的生活网站与Git。 我也有这个网站在Bitbucket(原产地)的git repsitory。 我该如何设置/var/www/shop的许可