Created
November 2, 2016 23:56
-
-
Save zeroc0d3/0db54f435b41866763d86e9ea60f459f to your computer and use it in GitHub Desktop.
Set default permission folder & file in Laravel PHP Framework
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!bin/sh | |
find ~/repos/mylaravel.app -type d -exec sudo chmod 755 {} \; | |
find ~/repos/mylaravel.app -type f -exec sudo chmod 644 {} \; | |
sudo chmod 777 -R storage | |
sudo chmod +x set_permission.sh |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment