Created
May 12, 2020 14:08
-
-
Save taivu/02fb8e98bc5f01a524fc8cb7e8afde3c to your computer and use it in GitHub Desktop.
Revisions
-
taivu created this gist
May 12, 2020 .There are no files selected for viewing
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 charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,9 @@ # Sometimes copying files directly from a vagrant sandbox will results in all files and directories being 777 # These two commands will make every file and directory under the current working directory have normal permission flags. # These commands should be run in the `/private_files` and `/pub/sites/default/files` folder. # # Directories: rwxrwxr-x # Files: rw-rw-r-- find . -type d -exec chmod 0775 {} + find . -type f -exec chmod 0664 {} +