From 2291ee47cd28dab12141fb6c4118d1484f8f5dd6 Mon Sep 17 00:00:00 2001 From: Ramesh Nachimuthu Date: Tue, 15 Apr 2014 15:13:24 +0530 Subject: autoconf: make 'nagios' as the owner of gluster conf folder Currently root is the owner of gluster config folder /etc/nagios/gluster. Because if this, autocof fails to write the config as it is running under nagios user. With this patch, I am changing the owner of gluster config folder to 'nagios' user. Bug-Url: https://bugzilla.redhat.com/1085302 Change-Id: I0cacc266c22cd66e3558a6b78b39009db0ba9a26 Signed-off-by: Ramesh Nachimuthu --- nagios-server-addons.spec.in | 1 + 1 file changed, 1 insertion(+) (limited to 'nagios-server-addons.spec.in') diff --git a/nagios-server-addons.spec.in b/nagios-server-addons.spec.in index 0fe22a1..1fb8f11 100644 --- a/nagios-server-addons.spec.in +++ b/nagios-server-addons.spec.in @@ -193,6 +193,7 @@ fi %{_datadir}/nagios/html/pnp4nagios/templates.dist/check_memory.php %{_datadir}/nagios/html/pnp4nagios/templates.dist/check_swap_usage.php %attr(0755, -, -) %{_libdir}/nagios/plugins/gluster/* +%attr(0775, root, nagios) %dir %{_sysconfdir}/nagios/gluster %{_sysconfdir}/nagios/gluster/* %files tests -- cgit