From: Peter Bailey Date: 2009-02-21T01:13:44+09:00 Subject: Re: "permission denied" Hassan Schroeder wrote: > On Fri, Feb 20, 2009 at 5:46 AM, Peter Bailey wrote: > >> error. Obviously, it stops the whole script. > >> Exception: Permission denied - EC11SE91-043.png > > Why "obviously"? Can't you just rescue that exception, log the error, > and continue (or retry, if that makes more sense)? :-) Well, I've already spent a week or so putting in exception handling for other parts of this script. I'm not very good at exception handling, frankly. I guess I can try to do it for this as well. But, I still would like to know why it's having the problem in the first place. What I'm doing now is simply doing smaller batches of files. Instead of doing 1,200 files at once, I'm doing about a hundred at a time. Thanks. -- Posted via http://www.ruby-forum.com/.