diff --git a/lib/filestorage/local.php b/lib/filestorage/local.php index 6be04db96ae..94b3147b73b 100644 --- a/lib/filestorage/local.php +++ b/lib/filestorage/local.php @@ -85,7 +85,7 @@ class OC_Filestorage_Local extends OC_Filestorage_Common{ return $this->delTree($path); } public function rename($path1,$path2){ - if (!$this->is_writable($path1)) { + if (!$this->isUpdatable($path1)) { OC_Log::write('core','unable to rename, file is not writable : '.$path1,OC_Log::ERROR); return false; }