From 8d111f34e4fd0476504b0d4028e4ab99f9091ae7 Mon Sep 17 00:00:00 2001 From: Alexander Barton Date: Mon, 20 Sep 2010 12:13:43 +0200 Subject: [PATCH] Set /usr/local/lib/nagcollect to "world readable" after update --- client/bin/nagcollect | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/client/bin/nagcollect b/client/bin/nagcollect index e88b309..8f07f38 100755 --- a/client/bin/nagcollect +++ b/client/bin/nagcollect @@ -35,8 +35,10 @@ function refreshTestScripts() # Update local test scripts Msg "Extracting scripts ..." mkdir -p /usr/local/lib/nagcollect - tar xzf "$tmp" -C /usr/local/lib/nagcollect --exclude "._*" --exclude "." ; r=$? + tar xzf "$tmp" -C /usr/local/lib/nagcollect -po \ + --exclude "._*" --exclude "." ; r=$? fi + chmod -R a+rX /usr/local/lib/nagcollect rm -f "$tmp" return $r } -- 2.39.2