From 8e23589589bb25148125c525c103ef3fa170627e Mon Sep 17 00:00:00 2001 From: Deon George Date: Wed, 15 Jan 2020 14:54:20 +1100 Subject: [PATCH] Added recursive chown to php root dir --- init | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/init b/init index 354f307..a1b7854 100755 --- a/init +++ b/init @@ -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