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?