Added recursive chown to php root dir
This commit is contained in:
parent
9b4df6abb1
commit
8e23589589
2
init
2
init
@ -22,7 +22,7 @@ if [ "${role}" = "app" -a -e artisan ]; then
|
|||||||
# Make sure our permissions are appropraite
|
# Make sure our permissions are appropraite
|
||||||
find ${php} -type f -exec chmod 640 {} \;
|
find ${php} -type f -exec chmod 640 {} \;
|
||||||
find ${php} -type d -exec chmod 750 {} \;
|
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
|
chown -R www-data:www-data ${php}/storage ${php}/bootstrap
|
||||||
|
|
||||||
if [ "${env}" != "local" -a -r "artisan" ]; then
|
if [ "${env}" != "local" -a -r "artisan" ]; then
|
||||||
|
Loading…
Reference in New Issue
Block a user