[libvirt] [PATCH]lxc: mount dir as readonly if ownership couldn't be known
Daniel P. Berrange
berrange at redhat.com
Tue Nov 12 10:39:20 UTC 2013
On Tue, Nov 12, 2013 at 05:51:45PM +0800, Chen Hanxiao wrote:
> From: Chen Hanxiao <chenhanxiao at cn.fujitsu.com>
>
> We bind mount some dir from host to guest.
> With userns enabled, if we couldn't know
> the dir's ownership, it's better to
> mount them as readonly.
No, if the user has requested the mount to be read-write and we can
not do that, we should fail, not silently change to a read-only
mount.
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 :|
More information about the libvir-list
mailing list