How to inspect recursive list of directory names

(imported topic written by boerio)

I have a need to inspect the write permissions of every folder on the root partition of a UNIX machine, with a couple of known exceptions. In particular, I want to make sure that none are world-writeable.

I can obtain the names of the folders OK, but as far as recursively descending them to determine all the subfolders, I’m lost.

Ideas?

Thanks.