I would assume that you are getting this behavior because you are running Tomcat itself as root. Perhaps you are listening on port 80 (which requires you to run as root).

Whitney

Josh Emmons wrote:

I have an Axis service that creates a file on the server's file system. When I `ls -l` this file I see that, much to my surprise, it's owned by root! Does axis run as root by default? How do I change it to run as, say, "nobody"? I looked through $tomcat/conf/server.xml and $axis/WEB-INF/server-config.wsdd and didn't see any properties that would let me set what user these apps run as.

Ideas, anyone?

Cheers,
-Josh Emmons





Reply via email to