parent
c454973596
commit
f4616fc366
@ -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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user