We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 95bd94d + d5ff6b2 commit 8a64fd4Copy full SHA for 8a64fd4
drivers/vmwarefusion/vmrun.go
@@ -12,6 +12,7 @@ import (
12
"os/exec"
13
"path/filepath"
14
"strings"
15
+ "syscall"
16
17
"github.com/docker/machine/libmachine/log"
18
)
@@ -36,6 +37,9 @@ func setVmwareCmd(cmd string) string {
36
37
}
38
39
func vmrun(args ...string) (string, string, error) {
40
+ // vmrun with nogui on VMware Fusion through at least 8.0.1 doesn't work right
41
+ // if the umask is set to not allow world-readable permissions
42
+ _ = syscall.Umask(022)
43
cmd := exec.Command(vmrunbin, args...)
44
if os.Getenv("MACHINE_DEBUG") != "" {
45
cmd.Stdout = os.Stdout
0 commit comments