Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion lib/Storage/DirMask.php
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down
Loading