diff options
author | Jürg Billeter <j@bitron.ch> | 2018-02-07 16:36:25 +0100 |
---|---|---|
committer | Jürg Billeter <j@bitron.ch> | 2018-02-07 16:36:25 +0100 |
commit | 3b284b672017b7be09544de47321a3f8e63fe272 (patch) | |
tree | 80f91ae31529842184c3bec834d35e0cf1659e85 /buildstream/element.py | |
parent | 087f7c28cdb4c5cf04f6697283dc2580d77b40f8 (diff) | |
download | buildstream-juerg/dbus.tar.gz |
Inherit user id and group id for bst shelljuerg/dbus
This allows D-Bus access.
Fixes #227
Diffstat (limited to 'buildstream/element.py')
-rw-r--r-- | buildstream/element.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/buildstream/element.py b/buildstream/element.py index 3431af39d..e2d11cabf 100644 --- a/buildstream/element.py +++ b/buildstream/element.py @@ -1375,7 +1375,7 @@ class Element(Plugin): if os.environ.get(override) is not None: environment[override] = os.environ.get(override) - flags = SandboxFlags.NETWORK_ENABLED | SandboxFlags.INTERACTIVE + flags = SandboxFlags.NETWORK_ENABLED | SandboxFlags.INTERACTIVE | SandboxFlags.INHERIT_UID if command: argv = [arg for arg in command] |