]> git.ipfire.org Git - thirdparty/open-vm-tools.git/commit
Use "/var/run" or "/run" instead of "/tmp" in Linux guest for imc package copy
authorOliver Kurth <okurth@vmware.com>
Tue, 19 Jun 2018 18:07:45 +0000 (11:07 -0700)
committerOliver Kurth <okurth@vmware.com>
Tue, 19 Jun 2018 18:07:45 +0000 (11:07 -0700)
commit104cab14e08b93a2525992e09f0d13ff26d52d9d
tree6b5b6b106f678a08aab83fa80f8fa0daac80bb6a
parent8f93d803066032a738b9d9a6990e32ed17b589e1
Use "/var/run" or "/run" instead of "/tmp" in Linux guest for imc package copy

1. check if /var/run is a directory in VM
2. if Yes, use /var/run/XXXXXX
3. check if /run is a directory in VM
4. if Yes, use /run/XXXXXX
5. if both No, use /tmp/XXXXXX as before
open-vm-tools/services/plugins/deployPkg/deployPkg.c