Werk #7915: check_mk_agent.{aix,linux,openwrt}: Fixed accessing $SPOOLDIR

Component Checks & agents
Title check_mk_agent.{aix,linux,openwrt}: Fixed accessing $SPOOLDIR
Date Jul 2, 2019
Level Trivial Change
Class Bug Fix
Compatibility Compatible - no manual interaction needed
Checkmk versions & editions
2.0.0i1 Checkmk Raw (CRE), Checkmk Enterprise (CEE), Checkmk MSP (CME)
1.6.0b3 Checkmk Raw (CRE), Checkmk Enterprise (CEE), Checkmk MSP (CME)
1.5.0p20 Checkmk Raw (CRE), Checkmk Enterprise (CEE), Checkmk MSP (CME)

If the check_mk_agent is executed under a certain user which has no permissions on the $SPOOLDIR and the $SPOOLDIR exists then the content of each plugin below $PLUGINSDIR or $LOCALDIR may be appended to the agent output.

To the list of all Werks