Re: setenv.sh tomcat8 changelog

2023-12-05 Thread Giuseppe Sacco
Hello Christoph,

Il giorno lun, 04/12/2023 alle 16.10 +0100, Christoph Kukulies ha scritto:
[...]
> Where do I find "setenv.sh" in my tomcat9 (Ubuntu) distribution? 

I think all Debian derivatives use /etc/default/tomcat8 file for setting
those variables.

Bye,
Giuseppe

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



Re: setenv.sh tomcat8 changelog

2023-12-04 Thread Mark Thomas

4 Dec 2023 15:10:13 Christoph Kukulies :


The tomcat8 changelog shows the following remark among others:

General

• Tighten up the default file permissions for the .tar.gz distribution 
so no files or directories are world readable by default. Configure 
Tomcat to run with a default umask of 0027 which may be overridden by 
setting UMASK in setenv.sh. (markt)



Where do I find "setenv.sh" in my tomcat9 (Ubuntu) distribution?


You won't. setenv.sh is a file you need to add. Where your distro looks 
for it would be a question for Ubuntu support.


In a standard Tomcat distribution you would create it alongside the 
catalina.sh file.


Mark

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



setenv.sh tomcat8 changelog

2023-12-04 Thread Christoph Kukulies
The tomcat8 changelog shows the following remark among others:

General

• Tighten up the default file permissions for the .tar.gz distribution 
so no files or directories are world readable by default. Configure Tomcat to 
run with a default umask of 0027 which may be overridden by setting UMASK in 
setenv.sh. (markt)


Where do I find "setenv.sh" in my tomcat9 (Ubuntu) distribution? 

root@mail:/var/lib# grep "^Umask:" /proc/`ps ax| grep  tomcat | grep -v grep | 
awk '{print $1}'`/status
Umask:  0027


--
Christoph



smime.p7s
Description: S/MIME cryptographic signature