Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Shared folders are created, but the files are missing #275

Closed
Dolphinsimon opened this issue Oct 31, 2023 · 0 comments
Closed

Shared folders are created, but the files are missing #275

Dolphinsimon opened this issue Oct 31, 2023 · 0 comments

Comments

@Dolphinsimon
Copy link

Describe the bug
We create shared folders by

Add-EflowVmSharedFolder -sharedFoldersJsonPath "C:\temp\sharedFolders.json"

The shared folders are created without errors, but the files and subfolders in the host folder are missing when we are trying to access them in the EFlowVM.

To Reproduce
Steps to reproduce the behavior:

  1. Add-EflowVmSharedFolder -sharedFoldersJsonPath "C:\temp\sharedFolders.json"
  2. Connect-EFlowVM, navigate to the shared path, the folder is empty.

Expected behavior
All files and subfolders in the host folder should be accessible in EFlowVM

Screenshots
If applicable, add screenshots to help explain your problem.

Windows Host OS (please complete the following information):

  • Edition: Windows10 Enterprise LTSC 2019
  • Version: build 17763
  • Virtual Machine: None

Additional context
We have tested the folder with:

 Get-EflowVmSharedFolder -sharedfolderRoot "C:\temp" -hostFolderPath @("iotedgegateway")
hostFolderPath readOnly targetFolderOnGuest hostFolderFullPath
-------------- -------- ------------------- ------------------
iotedgegateway    False /srv/IoTEdgeGateway C:\temp\iotedgegateway

The sharedfolder.json content:

[
    {
        "sharedFolderRoot": "C:\\temp",
        "sharedFolders": [
            {   
                "hostFolderPath": "iotedgegateway", 
                "readOnly": false, 
                "targetFolderOnGuest": "/srv/IoTEdgeGateway" 
            }
        ]
    }
]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant