Re: [Qemu-devel] [PATCH V2] fix: unix sockets created for virtio-serail has insufficient permissions

2014-09-03 Thread Daniel P. Berrange
On Wed, Sep 03, 2014 at 02:18:07PM +0800, Chunyan Liu wrote: > Add umask to _virCommand, allow user to set umask to command. > Set umask(002) to qemu process to overwrite default umask(022) so > that unix sockets created for virtio-serial has expected permissions. > > Fix problem reported here: >

[Qemu-devel] [PATCH V2] fix: unix sockets created for virtio-serail has insufficient permissions

2014-09-02 Thread Chunyan Liu
Add umask to _virCommand, allow user to set umask to command. Set umask(002) to qemu process to overwrite default umask(022) so that unix sockets created for virtio-serial has expected permissions. Fix problem reported here: https://sourceware.org/bugzilla/show_bug.cgi?id=13078#c11 https://bugzill