Find all directories in the root directory (-L /) that have permissions of 777, 744, 644, 544, or 444 and change their permissions to 755.
find -L / -type d \( -perm 777 -o -perm 744 -o -perm 644 -o -perm 544 -o -perm 444 \) -exec chmod 755 {} \;