From 04704e67cfb9d7f2ae8349633fb9130edf9c1305 Mon Sep 17 00:00:00 2001 From: Dennis Eichhorn Date: Sat, 20 Oct 2018 18:12:22 +0200 Subject: [PATCH] change file permission --- Utils/IO/Zip/Gz.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Utils/IO/Zip/Gz.php b/Utils/IO/Zip/Gz.php index c0371069c..932bce933 100644 --- a/Utils/IO/Zip/Gz.php +++ b/Utils/IO/Zip/Gz.php @@ -62,7 +62,7 @@ class Gz implements ArchiveInterface return false; } - $gz = \gzopen($source, 'w'); + $gz = \gzopen($source, 'r'); $dest = \fopen($destination, 'w'); if ($gz === false || $dest === false) { return false;