diff --git a/src/python/jw/pkg/lib/FileContext.py b/src/python/jw/pkg/lib/FileContext.py index 2622e7e8..08d2e89f 100644 --- a/src/python/jw/pkg/lib/FileContext.py +++ b/src/python/jw/pkg/lib/FileContext.py @@ -221,7 +221,7 @@ class FileContext(abc.ABC): raise NotImplementedError(f'{self.log_name}: mkdir({path}) is not implemented') async def mkdir(self, path: str, mode: int = 0o777) -> None: - return await self._mkdir(path, mode) + return await self._mkdir(self._chroot(path), mode) async def _mktemp(self, tmpl: str, directory: bool) -> str: raise NotImplementedError(