FileContext.mkdir(): Fix missing _chroot() #130

Merged
Jan Lindemann merged 1 commit from jan/feature/20260929-filecontext-mkdir-fix-missing-chroot into master 2026-09-29 15:28:59 +02:00 AGit

View file

@ -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(