From 680ab60f7a59dc1c9cb9a223da68a9c4cd646230 Mon Sep 17 00:00:00 2001 From: Deon George Date: Wed, 15 Jan 2020 15:29:34 +1100 Subject: [PATCH] Chown vendor dir to www-data --- init | 1 + 1 file changed, 1 insertion(+) diff --git a/init b/init index 3f4bc98..437ecd6 100755 --- a/init +++ b/init @@ -24,6 +24,7 @@ if [ "${role}" = "app" -a -e artisan ]; then find ${php} -type d -exec chmod 750 {} \; chown -R lamp:www-data ${php} chown -R www-data:www-data ${php}/storage ${php}/bootstrap + [ -e ${php}/vendor ] && chown -R www-data:www-data ${php}/vendor if [ "${env}" != "local" -a -r "artisan" ]; then # See if we need to refresh our dependancies