2010/12/7 Jason Pyeron <jpye...@pdinc.us>:
>
> The permissions on /usr/share/tomcat5/conf/ are 775 and owned by root.tomcat.

It is a bad idea to have the configuration files world-readable.

Especially tomcat-uses.xml and server.xml.


> java.io.IOException: IOException writing to
> /usr/share/tomcat5/conf/tomcat-users.xml.new

What you do not understand in the above message?
Tomcat saves the file to a new name, then renames it.

BTW, it is possible to set readonly="true" on the UserDatabase entry
in server.xml and Tomcat won't try to write that file. (In Tomcat 6+
readonly flag is "true" by default).

> cat /etc/tomcat5/tomcat-users.xml

This file is not in "/usr/share/tomcat5/conf/"

Best regards,
Konstantin Kolinko

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org

Reply via email to