Created
March 3, 2014 10:27
-
-
Save sridharraman/9322249 to your computer and use it in GitHub Desktop.
Change permissions for folder and files recursively from the terminal
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
| To change all the directories to 755 (-rwxr-xr-x): | |
| find . -type d -exec chmod 755 {} \; | |
| To change all the files to 644 (-rw-r--r--): | |
| find . -type f -exec chmod 644 {} \; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment