packages: tomcat/tomcat.spec - tomcat config files should not be readeable ...

pawelz pawelz at pld-linux.org
Fri Aug 28 13:14:39 CEST 2009


Author: pawelz                       Date: Fri Aug 28 11:14:39 2009 GMT
Module: packages                      Tag: HEAD
---- 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.131 -> 1.132) 

---- Diffs:

================================================================
Index: packages/tomcat/tomcat.spec
diff -u packages/tomcat/tomcat.spec:1.131 packages/tomcat/tomcat.spec:1.132
--- packages/tomcat/tomcat.spec:1.131	Tue Aug 18 17:49:50 2009
+++ packages/tomcat/tomcat.spec	Fri Aug 28 13:14:33 2009
@@ -356,9 +356,9 @@
 %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/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/*.xml
+%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/*.xml
 %dir %attr(1730,root,tomcat) %{_vardir}/work
 %dir %attr(775,root,tomcat) %{_vardir}/webapps
 %dir %attr(775,root,tomcat) %{_vardir}/temp
@@ -410,6 +410,10 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.132  2009/08/28 11:14:33  pawelz
+- tomcat config files should not be readeable by everyone since they can
+  contain some passwords (for example tomcat-users.xml)
+
 Revision 1.131  2009/08/18 15:49:50  pawelz
 - rel 1
 
================================================================

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



More information about the pld-cvs-commit mailing list