Created
August 1, 2016 08:18
-
-
Save klprint/e789af555901ec86e7bf7840ca2431df to your computer and use it in GitHub Desktop.
Change chmod for folder & all subfolders
This file contains 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
# Sets chmod 755 for folder and all subfolders | |
find /opt/lampp/htdocs -type d -exec chmod 755 {} \; | |
# Sets chmod 655 for all files in this folder & subfolder | |
find /opt/lampp/htdocs -type f -exec chmod 644 {} \; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
you made a 644 typo