diff --git a/lib/private/Files/Storage/Local.php b/lib/private/Files/Storage/Local.php index e3e6ac783d..e9a9e8e988 100644 --- a/lib/private/Files/Storage/Local.php +++ b/lib/private/Files/Storage/Local.php @@ -202,9 +202,9 @@ class Local extends \OC\Files\Storage\Common { return false; } if (!is_null($mtime)) { - $result = touch($this->getSourcePath($path), $mtime); + $result = @touch($this->getSourcePath($path), $mtime); } else { - $result = touch($this->getSourcePath($path)); + $result = @touch($this->getSourcePath($path)); } if ($result) { clearstatcache(true, $this->getSourcePath($path));