diff --git a/lib/private/Files/Storage/Wrapper/DirPermissionsMask.php b/lib/private/Files/Storage/Wrapper/DirPermissionsMask.php index b4d29558f4a..7a8ff75f246 100644 --- a/lib/private/Files/Storage/Wrapper/DirPermissionsMask.php +++ b/lib/private/Files/Storage/Wrapper/DirPermissionsMask.php @@ -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; }