parent
c454973596
commit
f4616fc366
@ -4,6 +4,7 @@ import asyncio
|
|||||||
import functools
|
import functools
|
||||||
import io
|
import io
|
||||||
import os
|
import os
|
||||||
|
import shutil
|
||||||
import signal
|
import signal
|
||||||
import struct
|
import struct
|
||||||
import traceback
|
import traceback
|
||||||
@ -156,6 +157,7 @@ def main(args=None):
|
|||||||
old_umask = os.umask(0o007)
|
old_umask = os.umask(0o007)
|
||||||
server = loop.run_until_complete(loop.create_unix_server(
|
server = loop.run_until_complete(loop.create_unix_server(
|
||||||
functools.partial(QubesDaemonProtocol, app=args.app), QUBESD_SOCK))
|
functools.partial(QubesDaemonProtocol, app=args.app), QUBESD_SOCK))
|
||||||
|
shutil.chown(QUBESD_SOCK, group='qubes')
|
||||||
os.umask(old_umask)
|
os.umask(old_umask)
|
||||||
del old_umask
|
del old_umask
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user