diff --git a/lib/private/Encryption/DecryptAll.php b/lib/private/Encryption/DecryptAll.php index 251b1f7d53..f7351ec1be 100644 --- a/lib/private/Encryption/DecryptAll.php +++ b/lib/private/Encryption/DecryptAll.php @@ -266,6 +266,7 @@ class DecryptAll { try { $this->rootView->copy($source, $target); + $this->rootView->touch($target, $fileInfo->getMTime()); $this->rootView->rename($target, $source); } catch (DecryptionFailedException $e) { if ($this->rootView->file_exists($target)) {