Skip to content

Commit 5443651

Browse files
CarlSchwanDerDreschner
authored andcommitted
fix: Check if it is deletable and updatable
Signed-off-by: Carl Schwan <carl@carlschwan.eu>
1 parent 119af49 commit 5443651

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

lib/private/Files/Storage/Wrapper/DirPermissionsMask.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,7 @@ public function getPermissions($path): int {
9494

9595
#[\Override]
9696
public function rename($source, $target): bool {
97-
if (!$this->isDeletable($source)) {
97+
if (!($this->isDeletable($source) || $this->isUpdatable($source))) {
9898
return false;
9999
}
100100

0 commit comments

Comments
 (0)