I’ve been teaching folks that if they want to ‘scan’ for permissions.
find /directory-top -type d \! -perm 0755 -exec chmod 755 {} \;
find /directory-top -type f \! -perm 0644 -exec chmod 644 {} \;
Now it will scan and change only those files and directories not matching the permissions you want them to have versus using the sledgehammer technique.