summaryrefslogtreecommitdiff
path: root/buildstream/element.py
diff options
context:
space:
mode:
Diffstat (limited to 'buildstream/element.py')
-rw-r--r--buildstream/element.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/buildstream/element.py b/buildstream/element.py
index d03f32c6c..c43701d09 100644
--- a/buildstream/element.py
+++ b/buildstream/element.py
@@ -1395,7 +1395,7 @@ class Element(Plugin):
if scope == Scope.BUILD:
flags |= SandboxFlags.ROOT_READ_ONLY
elif scope == Scope.RUN:
- flags |= SandboxFlags.NETWORK_ENABLED
+ flags |= SandboxFlags.NETWORK_ENABLED | SandboxFlags.INHERIT_UID
if command:
argv = [arg for arg in command]