Re: [PATCH]lxc: mount dir as readonly if ownership couldn't be known

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

 




> -----Original Message-----
> From: Daniel P. Berrange [mailto:berrange@xxxxxxxxxx]
> Sent: Tuesday, November 12, 2013 6:39 PM
> To: Chen Hanxiao
> Cc: libvir-list@xxxxxxxxxx
> Subject: Re:  [PATCH]lxc: mount dir as readonly if ownership couldn't be
> known
> 
> On Tue, Nov 12, 2013 at 05:51:45PM +0800, Chen Hanxiao wrote:
> > From: Chen Hanxiao <chenhanxiao@xxxxxxxxxxxxxx>
> >
> > 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.
> 
Thanks. New patch will come soon.



--
libvir-list mailing list
libvir-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvir-list




[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]