fix: Check if it is deletable and updatable

Signed-off-by: Carl Schwan <carl@carlschwan.eu>
This commit is contained in:
Carl Schwan 2026-04-21 01:05:59 +02:00 committed by backportbot[bot]
parent a219b606ee
commit 9a06ac71a4

View file

@ -88,7 +88,7 @@ class DirPermissionsMask extends PermissionsMask {
}
public function rename($source, $target): bool {
if (!$this->isDeletable($source)) {
if (!($this->isDeletable($source) || $this->isUpdatable($source))) {
return false;
}