Created
December 5, 2017 21:01
-
-
Save bpb54321/0bc8a87c413912778f4b0b083b4a8ac3 to your computer and use it in GitHub Desktop.
Change file permissions recursively using 'find'
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
chown -R [username]:cndls-admins [directory] | |
cd [directory] | |
find ./ -type d -exec chmod 775 {} \; | |
find ./ -type f -exec chmod 664 {} \; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment