From: Alexander Barton Date: Mon, 20 Sep 2010 10:13:43 +0000 (+0200) Subject: Set /usr/local/lib/nagcollect to "world readable" after update X-Git-Tag: rel-3~23 X-Git-Url: https://arthur.barton.de/cgi-bin/gitweb.cgi?p=nagcollect.git;a=commitdiff_plain;h=8d111f34e4fd0476504b0d4028e4ab99f9091ae7;ds=inline Set /usr/local/lib/nagcollect to "world readable" after update --- 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 }