Commit 7aa7fea6 authored by Samuel GAIST's avatar Samuel GAIST

[execution][docker] If nothing configured use the current user id

When starting a docker container, use the same user as the one
currently executing the code if nothing else has been put in
the configuration. This allows to have consistent access across
executions.
parent dc387a4b
......@@ -423,7 +423,7 @@ class DockerExecutor(RemoteExecutor):
# ----- (If necessary) Instantiate the docker container that provide the databases
datasets_uid = self.data.pop("datasets_uid", None)
datasets_uid = self.data.pop("datasets_uid", os.geteuid())
network_name = self.data.pop("network_name", "bridge")
databases_infos = {}
......
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