I would like to run tomcat as an unprivileged user for security reasons, but when my war file is created through Ant it loses all of the permissions (as it says it will in the Ant manual). Does anyone know of a way to run tomcat as an unprivileged user and still use a war file which when it is created is not accessible to the tomcat user?
I'm wondering if I need to create the war file as the tomcat user or maybe change the default umask on my build machine - just wondering if anyone else has run into this. Thanks.