[prev in list] [next in list] [prev in thread] [next in thread] 

List:       libguestfs
Subject:    Re: [Libguestfs] [PATCH v2] Allow 9p filesystems to be listed and mounted (RHBZ#714981).
From:       "Daniel P. Berrange" <berrange () redhat ! com>
Date:       2011-06-22 14:59:45
Message-ID: 20110622145945.GJ2653 () redhat ! com
[Download RAW message or body]

On Wed, Jun 22, 2011 at 03:34:35PM +0100, Richard W.M. Jones wrote:
> 
> As an aside, I can't seem to ever write to these 9p filesystems.  I
> just get -EPERM (or -EROFS if I used the ro option, but that is
> understandable).

The filesystems stuff is not currently wired up into libvirt's
security driver relabelling code, since I'm kind of afraid of
recursively relabelling & setting ownership on entire directory
trees, in case the user does something crazy like passthrough
a major part of their root filesystem. So if you have selinux
involved, it'll deny access, and the files would need to be
made writable as 'qemu' too.

I'm not really sure on how to best deal with this yet.

Regards,
Daniel
-- 
|: http://berrange.com      -o-    http://www.flickr.com/photos/dberrange/ :|
|: http://libvirt.org              -o-             http://virt-manager.org :|
|: http://autobuild.org       -o-         http://search.cpan.org/~danberr/ :|
|: http://entangle-photo.org       -o-       http://live.gnome.org/gtk-vnc :|

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic