Skip to content

Instantly share code, notes, and snippets.

@repodevs
Created December 5, 2020 16:16
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save repodevs/6a2494bb51ccb7126dda5474fb53e648 to your computer and use it in GitHub Desktop.
Save repodevs/6a2494bb51ccb7126dda5474fb53e648 to your computer and use it in GitHub Desktop.
Linux command to find and fix permission file
#!/bin/bash
find -type f -not -perm 644 -exec chmod 644 {} \;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment