Skip to content

Instantly share code, notes, and snippets.

@repodevs
Created December 5, 2020 16:16
Show Gist options
  • 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