Commit 58fc2e1b authored by Ben Cooksley's avatar Ben Cooksley

D-Bus gets upset if XDG_RUNTIME_DIR permissions aren't secure enough

parent 7963b38e
......@@ -52,6 +52,8 @@ if sys.platform != 'win32' and sys.platform != 'darwin':
if not os.path.exists( buildEnvironment['XDG_RUNTIME_DIR'] ):
# Create it!
os.makedirs( buildEnvironment['XDG_RUNTIME_DIR'] )
# And lock down it's permissions
os.chmod( buildEnvironment['XDG_RUNTIME_DIR'], stat.S_IRUSR | stat.S_IWUSR | stat.S_IXUSR )
# Spawn a X windowing system if needed
# We'll also launch a Window Manager at the same time as some tests often need or unknowingly rely on one being present
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment