diff --git a/plugins/synced_folders/smb/synced_folder.rb b/plugins/synced_folders/smb/synced_folder.rb index 6cc177bbd..d46fb8a81 100644 --- a/plugins/synced_folders/smb/synced_folder.rb +++ b/plugins/synced_folders/smb/synced_folder.rb @@ -66,7 +66,7 @@ module VagrantPlugins "#{machine.id}-#{id.gsub("/", "-")}") args = [] - args << "-path" << hostpath.gsub("/", "\\") + args << "-path" << "\"#{hostpath.gsub("/", "\\")}\"" args << "-share_name" << data[:smb_id] #args << "-host_share_username" << @creds[:username]