Stricter permissions

pull/5373/head
Thomas Stromberg 2019-09-16 19:10:38 -07:00
parent ae500729fc
commit 9ce3be6b88
1 changed files with 1 additions and 1 deletions

View File

@ -70,7 +70,7 @@ func TestDriverInstallOrUpdate(t *testing.T) {
} }
// change permission to allow driver to be executable // change permission to allow driver to be executable
err = os.Chmod(filepath.Join(path, "docker-machine-driver-kvm2"), 0777) err = os.Chmod(filepath.Join(path, "docker-machine-driver-kvm2"), 0700)
if err != nil { if err != nil {
t.Fatalf("Expected not expected when changing driver permission. test: %s, got: %v", tc.name, err) t.Fatalf("Expected not expected when changing driver permission. test: %s, got: %v", tc.name, err)
} }