From: Peter Bailey Date: 2011-02-09T23:31:49+09:00 Subject: Re: "permission denied" happening too often Jeremy Bopp wrote in post #980452: > On 02/08/2011 09:36 AM, Kirk Haines wrote: >> Right. I was just being intentionally general in my phrasing, since >> the advice is applicable to anyone writing code to move files around, >> regardless of OS. > > Yeah, I figured as much. I just wanted to make sure that others reading > this in the forum later would be sure to understand this issue in > particular. Given the description of the problem, you probably wouldn't > ever see this kind of error on a Unix system unless some program > actually did change the permissions on the file or directory itself > rather than just have it open as is likely the case here. :-) > > -Jeremy I'll just put in some exception handling, as suggested. And, I'll ask my IT guys if the virus scanner might be a culprit here. I'm a little concerned about his maybe just being a Windows problem. -- Posted via http://www.ruby-forum.com/.