daemon: fixed issue creating directory for files when needed, within node
This commit is contained in:
parent
490a4acf24
commit
0e2219f6c8
1 changed files with 1 additions and 1 deletions
|
@ -201,7 +201,7 @@ class DockerNode(CoreNode):
|
|||
temp.write(contents.encode("utf-8"))
|
||||
temp.close()
|
||||
temp_path = Path(temp.name)
|
||||
directory = file_path.name
|
||||
directory = file_path.parent
|
||||
if str(directory) != ".":
|
||||
self.cmd(f"mkdir -m {0o755:o} -p {directory}")
|
||||
if self.server is not None:
|
||||
|
|
Loading…
Reference in a new issue