[packages/nagios-plugin-check_raid] let config be readable for nagios only

glen glen at pld-linux.org
Fri May 29 10:51:26 CEST 2015


commit 34952916b9a197fe64a296c86c521022dae99563
Author: Elan Ruusamäe <glen at delfi.ee>
Date:   Fri Apr 10 17:57:19 2015 +0300

    let config be readable for nagios only

 nagios-plugin-check_raid.spec | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/nagios-plugin-check_raid.spec b/nagios-plugin-check_raid.spec
index 8775cac..605671b 100644
--- a/nagios-plugin-check_raid.spec
+++ b/nagios-plugin-check_raid.spec
@@ -116,6 +116,6 @@ fi
 
 %files
 %defattr(644,root,root,755)
-%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{plugin}.cfg
+%attr(640,root,nagios) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{plugin}.cfg
 %attr(755,root,root) %{plugindir}/%{plugin}
 %ghost %{nrpeddir}/%{plugin}.cfg
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/nagios-plugin-check_raid.git/commitdiff/a4cec8c3115f199d6a2d5d0c51baca1fcb16713c



More information about the pld-cvs-commit mailing list