NetData Installation or Upgrade – Permission Denied Temp Directory not Executable

You might have run into the following issue at some point when trying to install or upgrade Netdata.

Shell

It’s usually related to your /tmp folder is mounted without execution permission and doesn’t allow execution of programs from this location. A simple work around is to set the $TMPDIR location in your shell to a place that is mount with execution permission. As an example

Shell

Granted you don’t have to use /root/tmp it can be any location.