none
HYPER-V Windows 10 Ubuntu 18.04 folder sharing problem RRS feed

  • Pergunta

  • I have been running Ubuntu 18.04 on Windows 10 (64bit 1903 fully patched) without problems.  In order to expand storage independently of the system disk, I have added a second virtual Hard Drive on the SCSI controller.

    I have created a new partition and set this to auto-mount at the same time as the main VM.  From the VM I have created new folders on the new VHD and set one of these to share.  Looking from inside the VM, the new Shared folder has the same settings (ownership & permissions) as the existing shared folders on main virtual machine (e.g. Documents and Downloads) and I can also see all the Share names if I browse My Network in File Explorer. 

    However, while any Share on the main VM is accessible from the host system, the share on the new VHD is not:

    Windows cannot access \\Ubuntu\Shared

    You do not have permission to access \\Ubuntu\Shared. Contact your network administrator to request access.

    If I look at the Properties > Security tab for a working share I see 

    where martin (Unix User\martin) is also the owner.  

    However if I create a share on the new VHD

    And if I go to Advanced "Unable to display current owner" > Change does allow any new owner to be found or set.

    Is it possible to access a VM share if it is not on the main drive of the VM?

    If it is, how and where do I need to set the permissions?

    Note: I have previously posted this to the Windows Server: Hyper-V forum who suggested also asking here.



    • Editado msmulian domingo, 20 de outubro de 2019 17:38
    quinta-feira, 10 de outubro de 2019 10:42