diff --git a/init b/init index b199af0..05742c4 100755 --- a/init +++ b/init @@ -65,9 +65,10 @@ if [ "${role}" = "app" -a -e artisan ]; then # Make sure our permissions are appropraite find ${php} -type f -exec chmod 640 {} \; find ${php} -type d -exec chmod 750 {} \; + find ${php}/public -type f -exec chmod 644 {} \; + find ${php}/public -type d -exec chmod 755 {} \; chmod o+rx ${php} chmod a+rx ${php}/artisan - chmod -R o+r ${php}/public chown -R lamp:www-data ${php} chown -R www-data:www-data ${php}/storage ${php}/bootstrap ${php}/composer.* [ -e ${php}/vendor ] && chown -R www-data:www-data ${php}/vendor