From: Peter Bailey Date: 2011-02-08T22:48:56+09:00 Subject: Re: "permission denied" happening too often Jeremy Bopp wrote in post #980293: > On 02/08/2011 07:40 AM, Peter Bailey wrote: >> Markus Schirp wrote in post #980289: >>> You can also try to strace your script. In the logs you'll find the >>> system >>> call causing the Permission denied... >> >> strace? Hmmm. Never heard of that. I'll have to look into it. > > Given that you're on Windows, you don't have strace; however, Process > Monitor from SysInternals > (http://technet.microsoft.com/en-us/sysinternals/bb896645) should be > able to do much the same operation. > > The likely problem though is that some other process, or even that > running your script, still has one of the files or directories you're > trying to move open and in use. Common culprits are virus scanners, so > if you have one of those, you might try temporarily disabling it and see > if that eliminates your problem. In rare cases, it is necessary to > remove such offending software entirely. > > -Jeremy I don't have the right to disable the virus scanner on this server. That's controlled by IT guys. I'll look into the SysInternals thing. I've used their stuff before. Thanks. -- Posted via http://www.ruby-forum.com/.