Reading time: 1 min
dev permissions:
chown -R user:http .
find . -type d -exec chmod 750 {} \;
find . -type f -exec chmod 640 {} \;
find ./storage -type d -exec chmod 2770 {} \;
find ./storage -type f -exec chmod 660 {} \;
prod permissions:
chown -R http:http .
find . -type d -exec chmod 500 {} \;
find . -type f -exec chmod 400 {} \;
find ./storage -type d -exec chmod 700 {} \;
find ./storage -type f -exec chmod 600 {} \;