tomcat cannot write files into WEB-INF folder

view full story

http://serverfault.com – i used cpanel+tomcat .the Project structure is : ROOT ----index.jsp ---- sample.txt ----- /WEB-INF/classes/pack2/sample2.txt tomcat Can write into sample.txt with permission 664 . but cannot write into /WEB-INF/classes/pack2/sample2.txt /WEB-INF/classes/pack2/ with permission 775 , sample2.txt with permission 775 . all folder and files in web-inf folder contains permission 775 and the owner of files is Ftp user . please help me !! thank you . (HowTos)