Re: QEMU/VirtFS user permission on files in shares

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Please don't respond to a digest message, the mail content is 90% irrelevant

On 05/20/2016 12:46 PM, Sorrillo, Lawrence wrote:
> All,
> I have been using VirtFS in QEMU for filesystem  passthrough.
> 
> I would like files/dirs  created on the VirtFS share in the VM to have the 
> UID/GID of the user logged into the VM and not the process that started the 
> QEMU VM. 
> 
> Does anyone know how to accomplish this without running QEMU in privileged mode
> or starting QEMU as the user that is going to be login to the VM  and write to the VirtFS share?
> 

You need to use the virtfs-proxy-helper with qemu, but it's never been wired
up in libvirt so you'll need to call qemu manually, or use libvirt qemu
commandline passthrough

- Cole

_______________________________________________
virt-tools-list mailing list
virt-tools-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/virt-tools-list



[Index of Archives]     [Linux Virtualization]     [KVM Development]     [CentOS Virtualization]     [Netdev]     [Ethernet Bridging]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Bugtraq]     [Yosemite Forum]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux Admin]     [Samba]     [Video 4 Linux]

  Powered by Linux