Module: check_mk
Branch: master
Commit: 7e9088c09963cb2e76030e8b645607692ec56011
URL:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=7e9088c09963cb…
Author: Bernd Stroessenreuther <bs(a)mathias-kettner.de>
Date: Thu Sep 5 15:49:46 2013 +0200
mk-job: /var/lib/check_mk_agent/job directory is now created with mode 1777 so mk-job can
be used by unprivileged users too: fixing bug #1040
---
ChangeLog | 2 ++
check_mk.spec | 3 +++
2 files changed, 5 insertions(+)
diff --git a/ChangeLog b/ChangeLog
index 8fa6364..319f0e4 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -76,6 +76,8 @@
* FIX: apache_status agent plugin: now also works, if prog name contains slashes
* FIX: check_dns: parameter -A does not get an additional string
* FIX: cisco_qos: Catch policies without post/drop byte information
+ * mk-job: /var/lib/check_mk_agent/job directory is now created with mode 1777 so
+ mk-job can be used by unprivileged users too
Notifications:
* notify.py: Matching service level: Use the hosts service level if a
diff --git a/check_mk.spec b/check_mk.spec
index 6da5250..f183d8d 100644
--- a/check_mk.spec
+++ b/check_mk.spec
@@ -188,6 +188,7 @@ rm -rf $RPM_BUILD_ROOT
%dir /usr/lib/check_mk_agent/local
%dir /usr/lib/check_mk_agent/plugins
%dir /var/lib/check_mk_agent
+%dir %attr(1777,-,-)/var/lib/check_mk_agent/job
%files agent-scriptless
%config(noreplace) /etc/xinetd.d/check_mk
@@ -198,6 +199,7 @@ rm -rf $RPM_BUILD_ROOT
%dir /usr/lib/check_mk_agent/local
%dir /usr/lib/check_mk_agent/plugins
%dir /var/lib/check_mk_agent
+%dir %attr(1777,-,-)/var/lib/check_mk_agent/job
%files caching-agent
%config(noreplace) /etc/xinetd.d/check_mk_caching
@@ -210,6 +212,7 @@ rm -rf $RPM_BUILD_ROOT
%dir /usr/lib/check_mk_agent/plugins
%dir /etc/check_mk
%dir /var/lib/check_mk_agent
+%dir %attr(1777,-,-)/var/lib/check_mk_agent/job
%files agent-logwatch
/usr/lib/check_mk_agent/plugins/mk_logwatch