Created
August 23, 2016 10:49
-
-
Save nasirkhan/68189f1b0ee20a3f49d575272ab50656 to your computer and use it in GitHub Desktop.
Fix the file and folder/directory permission on Linux
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
| # For directories only do this. | |
| find . -type d -exec chmod 755 {} \; | |
| # For files only do this. | |
| find . -type f -exec chmod 644 {} \; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment