packages (TOMCAT-5_5): tomcat/tomcat.spec - tomcat config files should not ...

pawelz pawelz at pld-linux.org
Fri Aug 28 13:16:00 CEST 2009


Author: pawelz                       Date: Fri Aug 28 11:16:00 2009 GMT
Module: packages                      Tag: TOMCAT-5_5
---- Log message:
- tomcat config files should not be readeable by everyone since they can 
  contain some passwords (for example tomcat-users.xml)

---- Files affected:
packages/tomcat:
   tomcat.spec (1.128 -> 1.128.2.1) 

---- Diffs:

================================================================
Index: packages/tomcat/tomcat.spec
diff -u packages/tomcat/tomcat.spec:1.128 packages/tomcat/tomcat.spec:1.128.2.1
--- packages/tomcat/tomcat.spec:1.128	Tue Jun 30 01:42:06 2009
+++ packages/tomcat/tomcat.spec	Fri Aug 28 13:15:55 2009
@@ -427,11 +427,11 @@
 %dir %attr(775,root,tomcat) %{_vardir}/conf/Catalina
 %dir %{_vardir}/conf/Catalina/localhost
 # tomcat config has to be writeable because of tomcat-users.xml file and Catalina dir
-%config(noreplace) %attr(664,root,tomcat) %verify(not md5 mtime size) %{_vardir}/conf/MANIFEST.MF
-%config(noreplace) %attr(664,root,tomcat) %verify(not md5 mtime size) %{_vardir}/conf/catalina.policy
-%config(noreplace) %attr(664,root,tomcat) %verify(not md5 mtime size) %{_vardir}/conf/*.properties*
-%config(noreplace) %attr(664,root,tomcat) %verify(not md5 mtime size) %{_vardir}/conf/*.manifest
-%config(noreplace) %attr(664,root,tomcat) %verify(not md5 mtime size) %{_vardir}/conf/*.xml
+%config(noreplace) %attr(660,root,tomcat) %verify(not md5 mtime size) %{_vardir}/conf/MANIFEST.MF
+%config(noreplace) %attr(660,root,tomcat) %verify(not md5 mtime size) %{_vardir}/conf/catalina.policy
+%config(noreplace) %attr(660,root,tomcat) %verify(not md5 mtime size) %{_vardir}/conf/*.properties*
+%config(noreplace) %attr(660,root,tomcat) %verify(not md5 mtime size) %{_vardir}/conf/*.manifest
+%config(noreplace) %attr(660,root,tomcat) %verify(not md5 mtime size) %{_vardir}/conf/*.xml
 %dir %attr(1730,root,tomcat) %{_vardir}/work
 %dir %attr(775,root,tomcat) %{_vardir}/webapps
 %dir %attr(775,root,tomcat) %{_vardir}/temp
@@ -460,6 +460,10 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.128.2.1  2009/08/28 11:15:55  pawelz
+- tomcat config files should not be readeable by everyone since they can
+  contain some passwords (for example tomcat-users.xml)
+
 Revision 1.128  2009/06/29 23:42:06  glen
 - remove unused macro, misc changes
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/tomcat/tomcat.spec?r1=1.128&r2=1.128.2.1&f=u



More information about the pld-cvs-commit mailing list