Skip to content

Commit b91e8b6

Browse files
authored
fix mnexec permissions issue in c440 (#849)
1 parent 57c952b commit b91e8b6

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

daq/test_modules/native_host.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,8 @@ def activate(self, log_name='activate.log'):
4141
"""Active a container and return STDOUT to it."""
4242
assert not self.active_pipe, '%s already activated' % self.name
4343

44-
env = dict(self.env_vars)
44+
# Need to inherit current process's env, otherwise there may be permission errs
45+
env = {**os.environ, **dict(self.env_vars)}
4546

4647
self.cmd('mkdir %s' % os.path.join(self.basedir, "config"))
4748

0 commit comments

Comments
 (0)