Re: [Bug 1445386] Re: virtual machine cannot access p9 filesystem

2015-05-01 Thread Serge Hallyn
Oh, interesting - I was thinking a wiki page or ubuntu server guide. But yes virt-manager would also be good affects: virt-manager ** Also affects: virt-manager Importance: Undecided Status: New -- You received this bug notification because you are a member of Ubuntu Bugs, which is

[Bug 1445386] Re: virtual machine cannot access p9 filesystem

2015-05-01 Thread Muelli
hm, maybe next to the source path (see attached screenshot). Something like "The directory you're about to share is not owned by $necessary_user:group. This may cause problems when writing from the guest.". ** Attachment added: "Screenshot from 2015-05-01 12:04:51.png" https://bugs.launchpad.n

Re: [Bug 1445386] Re: virtual machine cannot access p9 filesystem

2015-05-01 Thread Serge Hallyn
Quoting Muelli (tobias...@gnome.org): > when the directory is chgrp()ed to kvm then I can indeed write to it from the > guest. Thanks for confirming. > I think it'd be good to show that information somewhere in virt- manager when creating the filesystem share. Do you have any suggestions about

[Bug 1445386] Re: virtual machine cannot access p9 filesystem

2015-05-01 Thread Muelli
when the directory is chgrp()ed to kvm then I can indeed write to it from the guest. I think it'd be good to show that information somewhere in virt-manager when creating the filesystem share. it's a bit unfortunate, though. The user need to be either in the kvm or in the libvirt-qemu group. At

[Bug 1445386] Re: virtual machine cannot access p9 filesystem

2015-05-01 Thread Serge Hallyn
** Changed in: libvirt (Ubuntu) Importance: Undecided => Medium -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1445386 Title: virtual machine cannot access p9 filesystem To manage notifications a

[Bug 1445386] Re: virtual machine cannot access p9 filesystem

2015-04-24 Thread Serge Hallyn
Can you please confirm that you are chowning the directories/files to libvirt-qemu user? -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1445386 Title: virtual machine cannot access p9 filesystem To

[Bug 1445386] Re: virtual machine cannot access p9 filesystem

2015-04-24 Thread Serge Hallyn
When I create ~/share1 and p9-mount it into a libvirt VM just as you did, I was able to create and write - but only to files owned by the libvirt-qemu user, of course (since qemu runs as that user). When the directory was owned by me I could not create files. -- You received this bug notificatio

[Bug 1445386] Re: virtual machine cannot access p9 filesystem

2015-04-24 Thread Muelli
on the host: ➜ tmp>echo foo > share1/bar ➜ tmp>echo foo > share2/bar ➜ tmp>ls -la share* share1: total 4 drwxrwxr-x 1 muelli muelli 6 Apr 24 11:22 ./ drwxrwxr-x 1 muelli muelli 30 Apr 24 11:17 ../ -rw-rw-r-- 1 muelli muelli 4 Apr 24 11:28 bar share2: total 4 drwxrwxr-x 1 muelli muelli 6 Apr 24