#!/bin/sh
# Corrige dono de storage/cache quando artisan foi executado como root no host/container.
set -e
cd /var/www/html
chown -R www-data:www-data storage bootstrap/cache
chmod -R ug+rwx storage bootstrap/cache
