Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save jamesstacyjones/ae659c2142ea9ed48d029d93a6576e70 to your computer and use it in GitHub Desktop.
Save jamesstacyjones/ae659c2142ea9ed48d029d93a6576e70 to your computer and use it in GitHub Desktop.
Change files & directories with executable ... change back to normal
find / -type f -perm /a+x -exec chmod 0644 {} \;
find / -type d -perm /a+x -exec chmod 0755 {} \;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment