[nagios] Fixed main binary permissions

Peter Lemenkov peter at fedoraproject.org
Fri Oct 25 12:27:34 UTC 2013


commit a6a5be19e80bd8f3cee5d27dde95c4179d477fd8
Author: Peter Lemenkov <lemenkov at gmail.com>
Date:   Fri Oct 25 16:27:31 2013 +0400

    Fixed main binary permissions
    
    Signed-off-by: Peter Lemenkov <lemenkov at gmail.com>

 nagios.spec |    8 +++++++-
 1 files changed, 7 insertions(+), 1 deletions(-)
---
diff --git a/nagios.spec b/nagios.spec
index 02c7a4c..e73194b 100644
--- a/nagios.spec
+++ b/nagios.spec
@@ -2,7 +2,7 @@
 
 Name: nagios
 Version: 3.5.1
-Release: 3%{?dist}
+Release: 4%{?dist}
 Summary: Host/service/network monitoring program
 
 Group: Applications/System
@@ -221,6 +221,9 @@ install -D -m 0644 -p %{S:8} %{buildroot}%{_tmpfilesdir}/%{name}.conf
 rm -f %{buildroot}%{_initrddir}/nagios
 %endif
 
+# Fix permissions - FIXME remove this when unneeded
+chmod 755 %{buildroot}%{_sbindir}/nagios
+
 
 %pre common
 getent group nagios >/dev/null || groupadd -r nagios
@@ -324,6 +327,9 @@ fi
 
 
 %changelog
+* Fri Oct 25 2013 Peter Lemenkov <lemenkov at gmail.com> - 3.5.1-4
+- Fixed main binary permissions
+
 * Mon Oct 21 2013 Peter Lemenkov <lemenkov at gmail.com> - 3.5.1-3
 - Fixed typo in *.service file
 


More information about the scm-commits mailing list