From 21bf619d40754230100706afc68676f8733c73c3 Mon Sep 17 00:00:00 2001 From: provokateurin Date: Tue, 2 Sep 2025 14:07:22 +0200 Subject: [PATCH] fix(DirMask): Allow creating path Signed-off-by: provokateurin --- lib/Storage/DirMask.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lib/Storage/DirMask.php b/lib/Storage/DirMask.php index 4e43c060..113ca50b 100644 --- a/lib/Storage/DirMask.php +++ b/lib/Storage/DirMask.php @@ -137,7 +137,8 @@ public function touch($path, $mtime = null): bool { } public function mkdir($path): bool { - if ($this->checkPath($path)) { + // Always allow creating the path of the dir mask. + if ($path !== $this->path && $this->checkPath($path)) { return parent::mkdir($path); } else { return $this->storage->mkdir($path);