--- title: "Permission Denied: Failed to install the management agent." slug: "permission-denied-failed-to-install-the-management-agent" updated: 2026-06-30T04:59:12Z published: 2026-06-30T04:59:12Z canonical: "docs.serversaustralia.com.au/permission-denied-failed-to-install-the-management-agent" --- > ## Documentation Index > Fetch the complete documentation index at: https://docs.serversaustralia.com.au/llms.txt > Use this file to discover all available pages before exploring further. # Permission Denied: Failed to install the management agent. While installing the Veeam agent, you may see a permission denied error: ```shell [root@SAU-50429-VS ~]# sh LinuxAgentPackages.SAU_FB5E4_VC_Default_location.sh Veeam Management Agent Installation Creating temp directory... Unpacking installation files... Extracting packages... System platform: x64 Installing management agent... LinuxAgentPackages.SAU_FB5E4_VC_Default_location.sh: line 49: ./getcomputerinfo: Permission denied Failed to install the management agent. ``` This is because the script is trying to execute files in /tmp/ but `noexec` flag is set on that mount. You can see below the noexec flag on tmp mounts, causing the error: ```shell [root@SAU-50429-VS ~]# mount | grep -i '/tmp' /usr/tmpDSK on /tmp type ext4 (rw,nosuid,noexec,relatime,discard,data=ordered) /usr/tmpDSK on /var/tmp type ext4 (rw,nosuid,noexec,relatime,discard,data=ordered) ``` To remedy this issue, please perform the following two commands via the terminal: ```shell sed -i 's/$(mktemp -d -t veeammainst-XXXX)/\"\/root\/veeamtmp\"/' /root/LinuxAgentPackages.MyCompany_Default_location.sh mkdir /root/veeamtmp ``` Once you've run the above commands, you can re-attempt the installation. ```shell sh /root/LinuxAgentPackages.MyCompany_Default_location.sh ```