fix permissions for tomcat