To change directory or file permissions recursively you can do this:

$ find path/ -type d -exec chmod a-x {} \;

Change the d to an f for files.