From: Tobias DiPasquale Date: 2001-12-10T21:49:21+09:00 Subject: [ruby-talk:28078] Re: stack overflow (was Ruby IDE?? What about using Eclipse??) Oh, wow, you rock! How did I miss that?? Thanks a lot!! Milan Maksimovic wrote: > [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 > > > -- Tobias DiPasquale Solaris System Administrator Electrical and Computer Engineering Dept. Villanova University mailto: anany@ece.vill.edu tel: 610-519-5109