FileIO Adapter Renaming Files on an NT machine

After writing a file to disk using the File/IO Adapter, I want to rename the file from “temp.txt” to “final.txt”.

The File/IO Adapter creates the file “temp.txt” without issue. When trying to rename the file within a Custom Step using File.renameTo(), however, a SecurityException error is thrown. The file and its parent directory are shared with “Full Control” granted to “Everyone”.

Thoughts?

In adapter config select the java tab. On that tab, deselect the enable script security. That should do it.