From 6de7c9b445412dcd1fbab88aaca8b267b18a1ea2 Mon Sep 17 00:00:00 2001 From: Chris Roberts Date: Fri, 12 May 2017 14:14:11 -0700 Subject: [PATCH] Only convert path if windows access is granted --- lib/vagrant/util/platform.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/vagrant/util/platform.rb b/lib/vagrant/util/platform.rb index cd0e87f7d..c86c127d2 100644 --- a/lib/vagrant/util/platform.rb +++ b/lib/vagrant/util/platform.rb @@ -256,7 +256,7 @@ module Vagrant # @param [String, Pathname] path Path to convert # @return [String] def wsl_to_windows_path(path) - if wsl? + if wsl? && wsl_windows_access? if wsl_path?(path) parts = path.split("/") parts.delete_if(&:empty?)