Created
November 7, 2018 06:29
-
-
Save BenQoder/7951e3801aad90ba01c96a81a2d0242e to your computer and use it in GitHub Desktop.
Laravel Files And Directory Permission
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
| Artisan::command("permissions", function () { | |
| exec ("find ". base_path() ." -type d -exec chmod 0755 {} +"); | |
| exec ("find ". base_path() ." -type f -exec chmod 0644 {} +"); | |
| $this->comment("Done Setting Permisions"); | |
| })->describe("Set root permissions"); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment