Bug#925929: tomcat9: /var/log/tomcat9 is owned by tomcat:tomcat instead of tomcat:adm and not setgid

2019-03-29 Thread Thorsten Glaser
On Fri, 29 Mar 2019, Emmanuel Bourg wrote:

> The setgid bit is a good idea, otherwise the log files are only readable
> by the tomcat group, and the adm group can't access them. In Debian at

Indeed. Does this mean you agree with the patch I pushed
to the git branch?

> least exim4, mariadb, salt and ejabberd do this to the log directory.
> jetty9 will need the same treatment.

Sorry, I don't have either of them installed anywhere.

bye,
//mirabilos
-- 
tarent solutions GmbH
Rochusstraße 2-4, D-53123 Bonn • http://www.tarent.de/
Tel: +49 228 54881-393 • Fax: +49 228 54881-235
HRB 5168 (AG Bonn) • USt-ID (VAT): DE122264941
Geschäftsführer: Dr. Stefan Barth, Kai Ebenrett, Boris Esser, Alexander Steeg

*

**!!! NEU !!!** Mit der **tarent Academy** bieten wir ab sofort auch Trainings
und Schulungen in den Bereichen Softwareentwicklung, Agiles Arbeiten und
Zukunftstechnologien an. Besuchen Sie uns
auf [www.tarent.de/academy](http://www.tarent.de/academy). Wir freuen uns auf
Ihren Kontakt.

*



Bug#925929: tomcat9: /var/log/tomcat9 is owned by tomcat:tomcat instead of tomcat:adm and not setgid

2019-03-29 Thread Emmanuel Bourg
Le 28/03/2019 à 18:42, Thorsten Glaser a écrit :

> Furthermore, /var/log/tomcat9 should be chmod 2750 not 750
> so that the logfiles are accessible by the adm group, as
> Debian commonplace.

The setgid bit is a good idea, otherwise the log files are only readable
by the tomcat group, and the adm group can't access them. In Debian at
least exim4, mariadb, salt and ejabberd do this to the log directory.
jetty9 will need the same treatment.

Emmanuel Bourg



Bug#925929: tomcat9: /var/log/tomcat9 is owned by tomcat:tomcat instead of tomcat:adm and not setgid

2019-03-28 Thread Thorsten Glaser
retitle 925929 tomcat9: /var/log/tomcat9 is owned by tomcat:tomcat instead of 
tomcat:adm and not setgid
thanks

On Thu, 28 Mar 2019, Thorsten Glaser wrote:

> commit aeff1188eaab8dbe99bb1fec62472d9c2ff1d876 changed the way
> the log directory was created, and (probably a pasto) uses the
> wrong ownership.

Furthermore, /var/log/tomcat9 should be chmod 2750 not 750
so that the logfiles are accessible by the adm group, as
Debian commonplace.

bye,
//mirabilos
-- 
tarent solutions GmbH
Rochusstraße 2-4, D-53123 Bonn • http://www.tarent.de/
Tel: +49 228 54881-393 • Fax: +49 228 54881-235
HRB 5168 (AG Bonn) • USt-ID (VAT): DE122264941
Geschäftsführer: Dr. Stefan Barth, Kai Ebenrett, Boris Esser, Alexander Steeg

*

**!!! NEU !!!** Mit der **tarent Academy** bieten wir ab sofort auch Trainings
und Schulungen in den Bereichen Softwareentwicklung, Agiles Arbeiten und
Zukunftstechnologien an. Besuchen Sie uns
auf [www.tarent.de/academy](http://www.tarent.de/academy). Wir freuen uns auf
Ihren Kontakt.

*