Bug#1039974: tomcat10: tomcat user has wrong home "/var/lib/tomcat" directory in /etc/passwd
Markus Koschany
apo at debian.org
Sat Jul 1 00:15:25 BST 2023
Control: tags -1 moreinfo
> deploy .war in tomcat10
> got errors from tomcat10 in "journalctl -f"
>
> * What exactly did you do that was effective ?
>
> change tomcat user home in /etc/passwd to /var/lib/tomcat10
>
> * What was the outcome of this action?
>
> Problem solved
You most likely don't have to change the user home of tomcat to solve your
problem (which you did not specify at all)
There is a difference between the operating system user and home directory and
the applications' home directory.
See Debian bug https://bugs.debian.org/926338 for reference.
You have to tell your tomcat applications explicitly if they can write or read
certain file system directories. See /usr/share/doc/tomcat10/README.Debian for
more information. By default Debian's tomcat package is meant to be secure. It
is the task of the system administrator to configure tomcat correctly.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 963 bytes
Desc: This is a digitally signed message part
URL: <http://alioth-lists.debian.net/pipermail/pkg-java-maintainers/attachments/20230701/34f0be29/attachment.sig>
More information about the pkg-java-maintainers
mailing list