diff --git a/pandora_agents/unix/DEBIAN/make_deb_package.sh b/pandora_agents/unix/DEBIAN/make_deb_package.sh index d3dd6958ba..b47bdf9e36 100644 --- a/pandora_agents/unix/DEBIAN/make_deb_package.sh +++ b/pandora_agents/unix/DEBIAN/make_deb_package.sh @@ -81,6 +81,9 @@ cp -aRf man/man1/* temp_package/usr/share/man/man1/ # Relocate plugins to the final dir and delete cp temp_package/usr/share/pandora_agent/plugins/* temp_package/etc/pandora/plugins +# Make sure the plugins have execution privileges +chmod 755 temp_package/etc/pandora/plugins/* + echo "Official plugins are placed on /etc/pandora/plugins" > temp_package/usr/share/pandora_agent/plugins/README #Disabled, now the package overwrite the previous files.