java.io.FileNotFoundException: /usr/share/tomcat7/test.neli_webapps/uploads/2014/1394437663404_02_img.jpg (No such file or directory)

서버 오류 : uploads/ 폴더 권한을 tomcat 으로 줘야함

 

drwxr-xr-x 6 ec2-user ec2-user 4096 Mar 10 16:22 ROOT

drwxrwxr-x 2 ec2-user ec2-user 4096 Mar 10 16:46 uploads

$ sudo chown -R tomcat.tomcat *

 

drwxr-xr-x 6 tomcat tomcat 4096 Mar 10 16:22 ROOT

drwxrwxr-x 2 tomcat tomcat 4096 Mar 10 16:46 uploads


+ Recent posts