From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:60093) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XP7T1-0007YT-GL for qemu-devel@nongnu.org; Wed, 03 Sep 2014 06:07:14 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XP7Su-00041H-L2 for qemu-devel@nongnu.org; Wed, 03 Sep 2014 06:07:07 -0400 Received: from qmta11.emeryville.ca.mail.comcast.net ([76.96.27.211]:49237) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XP7Su-00041B-CW for qemu-devel@nongnu.org; Wed, 03 Sep 2014 06:07:00 -0400 Message-ID: <5406E841.9030107@redhat.com> Date: Wed, 03 Sep 2014 04:06:57 -0600 From: Eric Blake MIME-Version: 1.0 References: <1409725087-30483-1-git-send-email-cyliu@suse.com> In-Reply-To: <1409725087-30483-1-git-send-email-cyliu@suse.com> Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="aT34FnqXtAer51kF0vkwsw8uUaQCHQM8g" Subject: Re: [Qemu-devel] [libvirt] [PATCH V2] fix: unix sockets created for virtio-serail has insufficient permissions List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Chunyan Liu , libvir-list@redhat.com Cc: qemu-devel@nongnu.org This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --aT34FnqXtAer51kF0vkwsw8uUaQCHQM8g Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable On 09/03/2014 12:18 AM, Chunyan Liu wrote: s/serail/serial/ in the subject Actually, I'd go with a broader subject line: qemu: ensure sane umask for qemu process > 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. >=20 --=20 Eric Blake eblake redhat com +1-919-301-3266 Libvirt virtualization library http://libvirt.org --aT34FnqXtAer51kF0vkwsw8uUaQCHQM8g Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 Comment: Public key at http://people.redhat.com/eblake/eblake.gpg iQEcBAEBCAAGBQJUBuhBAAoJEKeha0olJ0NqEQUH/0OrGAq9sQwhXEKK4vTwHVwG PqIPfL50ypE+i971pCkK61V7ugw2/KH//twpmh32SaPHMdw/xe6eGUdNs7VN908D 5LxswxrbTRDNjD2UnXgfVDrCQ2ZRBn+lmmNk9bYnTIcWaL3ONotq9uv4tl/D4Zc/ K8zKSHuA9o77tD159Fcrg3l1ew6S8MKN5zH/aP2oXUGklW11TJj2xEuuzrDhZeup 9nFNfT2x2qehuo4oG84NszV/PMXKsUNkElkWOiF9E+93jkfbAP7tqjOOJbzE1vxm wX+z6aRzfc1oXNJum05k+TqBftdHKmLAg5Pt15Z9H6JAOCJ9CgSz/xHC5f8v/O0= =njbj -----END PGP SIGNATURE----- --aT34FnqXtAer51kF0vkwsw8uUaQCHQM8g--