Fix file permissions in Laravel
This script fixes permissions and ownership of your laravel files. Save it as fix.sh on the root of your project, make it executable ( chmod +x fix.sh) and edit only the two lines indicated at the beginning of the script to set your username and the name of the group used by your web server …