June 5, 2016 · Laravel
Laravel 5.1 + file permission
cd ".\YourLaravelFolder"
sudo find -type d -exec chmod 755 {} \;
sudo find -type d -exec chmod ug+s {} \;
sudo find -type f -exec chmod 644 {} \;
sudo chown -R lamp:www-pub .
sudo chmod -R 777 ./storage
sudo chmod -R 777 ./bootstrap/cache/
http://pastebin.com/4aD71TKu
https://laracasts.com/discuss/channels/general-discussion/laravel-framework-file-permission-security