diff --git a/qubes/tools/qubesd.py b/qubes/tools/qubesd.py index 4217a3af..916a1c72 100644 --- a/qubes/tools/qubesd.py +++ b/qubes/tools/qubesd.py @@ -4,6 +4,7 @@ import asyncio import functools import io import os +import shutil import signal import struct import traceback @@ -156,6 +157,7 @@ def main(args=None): old_umask = os.umask(0o007) server = loop.run_until_complete(loop.create_unix_server( functools.partial(QubesDaemonProtocol, app=args.app), QUBESD_SOCK)) + shutil.chown(QUBESD_SOCK, group='qubes') os.umask(old_umask) del old_umask