Skip to content

Instantly share code, notes, and snippets.

@bpb54321
Created December 5, 2017 21:01
Show Gist options
  • Save bpb54321/0bc8a87c413912778f4b0b083b4a8ac3 to your computer and use it in GitHub Desktop.
Save bpb54321/0bc8a87c413912778f4b0b083b4a8ac3 to your computer and use it in GitHub Desktop.
Change file permissions recursively using 'find'
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