Added permissions to tomcat folder.