Chown vendor dir to www-data
This commit is contained in:
parent
ee45868bf9
commit
680ab60f7a
1
init
1
init
@ -24,6 +24,7 @@ if [ "${role}" = "app" -a -e artisan ]; then
|
|||||||
find ${php} -type d -exec chmod 750 {} \;
|
find ${php} -type d -exec chmod 750 {} \;
|
||||||
chown -R lamp:www-data ${php}
|
chown -R lamp:www-data ${php}
|
||||||
chown -R www-data:www-data ${php}/storage ${php}/bootstrap
|
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
|
if [ "${env}" != "local" -a -r "artisan" ]; then
|
||||||
# See if we need to refresh our dependancies
|
# See if we need to refresh our dependancies
|
||||||
|
Loading…
Reference in New Issue
Block a user