Archives

msmulian

HYPER-V Windows 10 Ubuntu 18.04 folder sharing problem

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.  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 the Share name 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 UbuntuShared

You do not have permission to access UbuntuShared. Contact your network administrator to request access.

If
I look at the properties - Security tab for a working share I see 

where martin (Unix Usermartin) 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?

Read full post . . . .

Go Que Newsroom Categories