You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The Linux Level-1 CIS benchmarks set the noexec flag on /tmp. This prevents the agent from being able to execute any scripts (fork/exec /tmp/trmm12345: permission denied)
The createTmpFile of utils.go is passing a blank string for the dir path to CreateTemp that is causing the function to use the path as returned by TempDir. https://pkg.go.dev/os#CreateTemp
If the value for this path was a variable (Custom Field) defined at the site or agent level that was an empty string by default, then it would continue to use the default TempDir path, but allow for overrides in circumstances where a different path is needed...
The text was updated successfully, but these errors were encountered:
The Linux Level-1 CIS benchmarks set the
noexec
flag on/tmp
. This prevents the agent from being able to execute any scripts (fork/exec /tmp/trmm12345: permission denied
)The
createTmpFile
ofutils.go
is passing a blank string for the dir path toCreateTemp
that is causing the function to use the path as returned byTempDir
. https://pkg.go.dev/os#CreateTemprmmagent/agent/utils.go
Lines 312 to 315 in 4b1f993
If the value for this path was a variable (Custom Field) defined at the site or agent level that was an empty string by default, then it would continue to use the default
TempDir
path, but allow for overrides in circumstances where a different path is needed...The text was updated successfully, but these errors were encountered: