Added recursive chown to php root dir

This commit is contained in:
Deon George 2020-01-15 14:54:20 +11:00
parent 9b4df6abb1
commit 8e23589589

2
init
View File

@ -22,7 +22,7 @@ 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 {} \;
chown lamp:www-data ${php}
chown -R lamp:www-data ${php}
chown -R www-data:www-data ${php}/storage ${php}/bootstrap
if [ "${env}" != "local" -a -r "artisan" ]; then