Re: [PATCH v3 4/4] storage: fs: Only force directory permissions if required

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

 




On 05/21/2015 04:03 PM, Cole Robinson wrote:
> Only set directory permissions at pool build time, if:
> 
> - User explicitly requested a mode via the XML
> - The directory needs to be created
> - We need to do the crazy NFS root-squash workaround
> 
> This allows qemu:///session to call build on an existing directory
> like /tmp.
> ---
> v3:
>     Minor code clarity tweaks
>     Drop an unused variable while I'm here
> 
>  src/storage/storage_backend_fs.c | 29 ++++++++++++++++++-----------
>  src/util/virfile.c               |  4 ++--
>  2 files changed, 20 insertions(+), 13 deletions(-)
> 

ACK

John

--
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]