Skip to content

Compute worker: changing HOST_DIRECTORY not working #2379

@Didayolo

Description

@Didayolo

Description

A bug happen when selecting a HOST_DIRECTORY different than /codabench. Note that the problem does not occur if the directory on host and inside the container are /codabench.

Let's say we have HOST_DIRECTORY = /home/codabench/ and the desired directory is /codabench/data/temp/. Then makedirs will try to create /home/codabench/data/temp inside the container, which leads to an error.

Fix

A fix was proposed here:

But we should do a proper fix for this bug.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions