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 David Dreschner
parent 06f0765e19
commit 8850c29505

View file

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