Created
February 11, 2014 09:08
-
-
Save georgeyord/8931542 to your computer and use it in GitHub Desktop.
Linux - Find files recursively with incorrect permissions
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Assuming that you want directories to be 755 and ordinary files to be 644 | |
find \! -perm 644 -type f -o \! -perm 755 -type d |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment