diff --git a/init b/init index c1ced50..b6978da 100755 --- a/init +++ b/init @@ -24,6 +24,8 @@ 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 {} \; + chmod o+rx ${php} + chmod -R o+rx ${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