packages: drbd/drbd.spec - config files shouldn't be readable by all; they ...

mmazur mmazur at pld-linux.org
Thu Oct 28 15:45:57 CEST 2010


Author: mmazur                       Date: Thu Oct 28 13:45:57 2010 GMT
Module: packages                      Tag: HEAD
---- Log message:
- config files shouldn't be readable by all; they contain passwords

---- Files affected:
packages/drbd:
   drbd.spec (1.134 -> 1.135) 

---- Diffs:

================================================================
Index: packages/drbd/drbd.spec
diff -u packages/drbd/drbd.spec:1.134 packages/drbd/drbd.spec:1.135
--- packages/drbd/drbd.spec:1.134	Sat Oct  2 13:52:58 2010
+++ packages/drbd/drbd.spec	Thu Oct 28 15:45:52 2010
@@ -139,9 +139,9 @@
 %attr(754,root,root) /etc/rc.d/init.d/drbd
 %attr(755,root,root) %{_sysconfdir}/ha.d/resource.d/drbddisk
 %attr(755,root,root) %{_sysconfdir}/ha.d/resource.d/drbdupper
-%dir %{_sysconfdir}/drbd.d
-%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/drbd.conf
-%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/drbd.d/global_common.conf
+%attr(750,root,root) %dir %{_sysconfdir}/drbd.d
+%attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/drbd.conf
+%attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/drbd.d/global_common.conf
 %{_mandir}/man[58]/*
 %dir /usr/lib/drbd
 %attr(755,root,root) /usr/lib/drbd/*
@@ -161,6 +161,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.135  2010/10/28 13:45:52  mmazur
+- config files shouldn't be readable by all; they contain passwords
+
 Revision 1.134  2010/10/02 11:52:58  adamg
 - updated 8.3.8.1
 - drop kernel build stuff - it is maintained in mainline since 2.6.33
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/drbd/drbd.spec?r1=1.134&r2=1.135&f=u



More information about the pld-cvs-commit mailing list