From: Milan Maksimovic Date: 2001-12-10T16:12:17+09:00 Subject: [ruby-talk:28066] RE: stack overflow (was Ruby IDE?? What about using Eclipse??) >> Is it just because the directory is too deep, >> or is there an error in my recursion? Instead of rolling your own directory traversal you might want to consider using module Find which does exactly what you need: require 'Find' Find.find( rootFolder ) do | aFile | fixPermissions( aFile ) end It worked for me on very deep directory trees. Regards, Maksa