Passthrough Permissions


Recommended Posts

I'm converting from Xen to KVM for an Ubuntu VM.  I have a passthrough share setup in the XML, and the entry in fstab, but now I'm running into an issue where any files created in the VM show up with my VM user/group in the VM and the values of 1000/1000 on Unraid.  I've tried a few things, but I can't seem to get it to show up correctly as nobody/users in Unraid.  Here are the fstab lines I've tried:

 

Videos /mnt/Videos 9p trans-virtio,version=9p2000.L,nobootwait,rw,_netdev,dfltuid=99,dfltgid=100        0      0

 

Videos /mnt/Videos 9p trans-virtio,version=9p2000.L,nobootwait,rw,_netdev,uid=99,gid=100        0      0

 

Videos /mnt/Videos 9p trans-virtio,version=9p2000.L,nobootwait,rw,_netdev        0      0

 

Any suggestions?

Link to comment
  • 3 years later...

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.