Laravel Tip: Fixing File Permission Issue

When developing Laravel applications on Linux-based systems, you may run into file permission issues with auto-generated files such as logs or cache files.  I ran into this in the past often and my quick workaround was to manually change permissions and owner for the files with incorrect permissions.  It would be something like following:

[…]