AWS EC2 tomcat permission denied creating/writing to file
问题 I have a tomcat running on an elastic beanstalk EC2: 64bit Amazon Linux 2015.09 v2.0.4 running Tomcat 8 Java 8 I'm having trouble when the web app wants to create a new directory/file. I'm getting the following error in catalina.out java.io.IOException: java.io.FileNotFoundException: /home/ec2-user/images/companydata/images/2/10/ac3feab8-a2db-4052-9614-eea41c0a509e.png (Permission denied) at org.apache.catalina.core.ApplicationPart.write(ApplicationPart.java:121) at org.springframework.web