-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Rusty,

Rusty Wright wrote:
> It's set up so that tomcat runs as the user tomcat.  In order to do that
> you'll need to tweak the ownership of the files in the tomcat
> directory.

I would recommend that, instead of modifying the ownership of the Tomcat
installation directory, you instead use CATALINA_BASE set to somewhere
that has appropriate permissions for the user in question. Something
like /home/tomcat.

This also allows you to upgrade Tomcat much more easily just by
adjusting the path to startup.bat and bouncing Tomcat.

If the OP is using this script as part of the system startup (that is,
it is running as root), then you'll need to adjust the startup command
to be:

su - tomcat -c /path/to/tomcat/bin/startup.sh

This will switch to the tomcat user before launching Tomcat.

- -chris
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iEYEARECAAYFAkl6EF8ACgkQ9CaO5/Lv0PDolACgwG/Rx+cpzb8GuX4BOzjEhakU
Yq8An05jNk9mz17qCMpo44i1NfrIUDX2
=1D1X
-----END PGP SIGNATURE-----

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

Reply via email to