First

Here's code that will extend the owner's permission of the current directory to the group recursively.

 

find . -perm -0100 -print0 | xargs -0 chmod go+x
find . -perm -0400 -print0 | xargs -0 chmod go+r
find . -perm -0200 -print0 | xargs -0 chmod g+w