An application we have running in Tomcat 9 using Java 8 is throwing this error 
when trying to create a file:

java.nio.file.FileSystemException 
/path/to/filesystem/202311WEB/040389461310_08_37_246.jpg: Operation not 
permitted at 
sun.nio.fs.UnixException.translateToIOException(UnixException.java:91) at 
sun.nio.fs.UnixException.rethrowAsIOException(UnixException.java:102) at 
sun.nio.fs.UnixException.rethrowAsIOException(UnixException.java:107) at 
sun.nio.fs.UnixCopyFile.copyFile(UnixCopyFile.java:283) at 
sun.nio.fs.UnixCopyFile.copy(UnixCopyFile.java:581) at 
sun.nio.fs.UnixFileSystemProvider.copy(UnixFileSystemProvider.java:253) at 
java.nio.file.Files.copy(Files.java:1274) at 
org.apache.commons.io.FileUtils.copyFile(FileUtils.java:850) at 
org.apache.commons.io.FileUtils.copyFile(FileUtils.java:756) at 
com.genexus.specific.java.FileUtils.copyFile(FileUtils.java:45) at 
com.genexus.util.GXFileInfo.copy(GXFileInfo.java:88) at 
com.genexus.util.GXFile.copy(GXFile.java:298) at 
com.binet17.webservices.awsingresodenunciabs_img_impl.privateExecute(awsingresodenunciabs_img_impl.java:477

We have tried opening up permissions on the files and directories, adding users 
to the owner group, entries in the catalina.policy and nothing seems to work. 
Any ideas?
    ​​​​
Shawn   Beard    • Team Lead Middleware
Middleware Engineering
[cid:image517634.png@CD8D5799.4466DF95]
3840 109th Street       ,       Urbandale       ,       IA      50322
Phone: +1-515-564-2528<tel:+1-515-564-2528>
Email:  sbe...@wrberkley.com<mailto:sbe...@wrberkley.com>
Website: https://berkleytechnologyservices.com/

Right Team. Right Technology. Simple and Secure.


CONFIDENTIALITY NOTICE: This e-mail and the transmitted documents contain 
private, privileged and confidential information belonging to the sender. The 
information therein is solely for the use of the addressee. If your receipt of 
this transmission has occurred as the result of an error, please immediately 
notify us so we can arrange for the return of the documents. In such 
circumstances, you are advised that you may not disclose, copy, distribute or 
take any other action in reliance on the information transmitted.

Please know that our company will never ask that you transfer money without 
verbal confirmation. If you receive an e-mail from our company or any third 
party purporting to represent our company requesting money be transferred, 
please report it to me immediately. Our company will only transfer money after 
receiving verbal confirmation.

Reply via email to