Commit 5d06bbd4 authored by Samuel GAIST's avatar Samuel GAIST Committed by André Anjos
Browse files

[databases] Use current user ID if none is given when indexing

This will generate files for the current user like all other
files generated when using beat/beat.cmdline>

Fixes #78
parent ba93404c
Pipeline #45337 passed with stage
in 3 minutes and 51 seconds
......@@ -177,8 +177,10 @@ def start_db_container(
db_configuration = {"inputs": {}, "channel": set_name}
if uid is not None:
db_configuration["datasets_uid"] = uid
if uid is None:
uid = os.getuid()
db_configuration["datasets_uid"] = uid
if db_root is not None:
db_configuration["datasets_root_path"] = db_root
Supports Markdown
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