Conversation
… needs to be called before building the host directory.
|
Hi @jbehley, Thank you very much for your contribution. I have the following doubt regarding your change. Having first the directory creation: # Create if necessary
os.makedirs(path, exist_ok=True)And then the path concatenation: path = os.path.join(HOST_DIRECTORY, path)
return pathIt means that the path returned by the function is not the path passed to |
…ng the log message.
|
I think I have to close it anyway; I wasn't particularly careful with adding unrelated changes into the branch. Still the problem is not resolved...in our current setup, I still need to run my customized version, which I synced to the latest version. I'm still confident that the order should be different; otherwise, one tries to create a directory inside the container that cannot be accessed. |
|
@jbehley Feel free to open a new PR when it is ready. In any case, there is no harm in adding details about the tweaks that work for you to this PR or another one, just to keep something for other users who may need this in the future |
|
I opened a new pull request with just the required change: #2311 |
Brief Description
As we need a different host_directory not located in
/codabench, but a different path due to mounting points, e.g.,/other/path/codabench, we run into the problem that the worker raised a permission exception. As the directories are created inside the container of the worker, we identified the problem as not using the right location.Thus, this PR should make it possible to have a different directory on the host.
Checklist