Created
October 22, 2014 04:56
-
-
Save rlandas/020fc3940a8f8ca73bdf to your computer and use it in GitHub Desktop.
Linux change permission of the "public" folder recursively
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
find . -type d -name "public" -exec echo {} \; -exec chmod -fR 0775 . \; -exec chown -fR www-data:www-data . \; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment