Re: [PATCH 4/4] qemu: Call chmod() after mknod()

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

 



On 02/14/2017 04:33 PM, Andrea Bolognani wrote:
> mknod() is affected my the current umask, so we're not
> guaranteed the newly-created device node will have the
> right permissions.
> 
> Call chmod(), which is not affected by the current umask,
> immediately afterwards to solve the issue.
> ---
>  src/qemu/qemu_domain.c | 10 ++++++++++
>  1 file changed, 10 insertions(+)

ACK

Michal

--
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]
  Powered by Linux