Skip to content

Instantly share code, notes, and snippets.

@plasticut
Created April 14, 2015 10:19
Show Gist options
  • Save plasticut/4af291e716f6775d04f6 to your computer and use it in GitHub Desktop.
Save plasticut/4af291e716f6775d04f6 to your computer and use it in GitHub Desktop.
Set recursive file access rights
# read & exec perm for dirs
find ./ -type d -print0 | xargs -0 chmod 755
# read perm for files
find ./ -type f -print0 | xargs -0 chmod 644
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment