Merge pull request #1609 from p4p4j0hn/issue2158/create-parent-dirs

[Fixes 2158] Create parent dirs when provisioning install_dir
This commit is contained in:
Alexandre Aubin 2023-02-24 13:24:14 +01:00 committed by GitHub
commit 0c520e828e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -623,7 +623,7 @@ class InstalldirAppResource(AppResource):
)
shutil.move(current_install_dir, self.dir)
else:
mkdir(self.dir)
mkdir(self.dir, parents=True)
owner, owner_perm = self.owner.split(":")
group, group_perm = self.group.split(":")