For Linux VMs using open-vm-tools, files are restored to a private temp folder
Article ID: VMW0033 Virtual machines running Red Hat Enterprise Linux (RHEL) 7.2 through 7.5 and using open-vm-tools have restricted access to public temp folders such as /tmp or /var/tmp. If those folders are selected as a destination for file restores, files are restored to a private temp folder instead.
When you select public temp folders such as /tmp or /var/tmp as a destination for file restores, files are restored to a private temp folder instead.
The in-guest service maps public temp maps writes to a folder with a name such as systemd-private-XXXXXX-vmtoolsd.server-XXXX/tmp instead of the specified destination folder.
This issue has been described in https://bugzilla.redhat.com/show_bug.cgi?id=1387444. A downstream patch was added to harden the vmtoolsd service against possible tmp exploits.
To resolve this issue, you can use either of the following approaches:
- Restore the files to a different folder.
- Edit the /usr/lib/systemd/system/vmtoolsd.service file to comment out the following line, then restart the vmtoolsd service: