summaryrefslogtreecommitdiffstats
path: root/nagios-server-addons.spec.in
diff options
context:
space:
mode:
authorRamesh Nachimuthu <rnachimu@redhat.com>2014-04-15 15:13:24 +0530
committerBala.FA <barumuga@redhat.com>2014-04-29 10:21:37 +0530
commit2291ee47cd28dab12141fb6c4118d1484f8f5dd6 (patch)
treea21abc2d533c3390e08e407b2e1c441fbcec4da8 /nagios-server-addons.spec.in
parentca79e5f512c3fc7fced5521043b292c9046d12f1 (diff)
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 <rnachimu@redhat.com>
Diffstat (limited to 'nagios-server-addons.spec.in')
-rw-r--r--nagios-server-addons.spec.in1
1 files changed, 1 insertions, 0 deletions
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