In the last couple of days we have come across 2 cases where we seegunzip failing but filemanager decompression utils succeeding:Yesterday, on a remote server with only command line access, we had a fairly large file (about 2GB) to download and use. After downloading gunzip failed to decompress, showing corrupted fileSince we had compressed the fie using pigz we tried it but also failed, with wrong CRC error.The backup server has a web filemanager that comes with hosting software. On the backup server the file could decompress without a problem.On local machine, today, we also downloaded a file from backup server and gunzip failed with message invalid compressed data--crc error:$ gunzip file.gzgzip: file.gz: invalid compressed data--crc errorgzip: file.gz: invalid compressed data--length errorOn local machine we use Kubuntu and the same file could decompress without a problem using Dolphin filemanager.The 2 scenarios points to a possible flag used by filemanagers that makes them succeed in decompressing large files.Any idea?Edit: more detailsfile command$ file file.gzfile.gz: gzip compressed data, was file.sql, last modified: Wed Aug 31 01:50:35 2016, max speed, from UnixLocal$ uname -aLinux hppavilion 4.4.0-21-generic #37-Ubuntu SMP Mon Apr 18 18:33:37 UTC 2016 x86_64 x86_64 x86_64 GNU/Linux$ gzip --versiongzip 1.6File system: EXT4Remote$ uname -aLinux remote 3.10.0-327.28.3.el7.x86_64 #1 SMP Thu Aug 18 19:05:49 UTC 2016 x86_64 x86_64 x86_64 GNU/Linux$ gzip --versiongzip 1.5**File system*: EXT4Backup# uname -aLinux backup.com 3.10.0-327.3.1.el7.x86_64 #1 SMP Wed Dec 9 14:09:15 UTC 2015 x86_64 x86_64 x86_64 GNU/Linux# gzip --versiongzip 1.5File system: EXT4Note:Seen only with large archivesIntermittent/inconsistent - tried an equally large archive and gunzip succeed
Difference between command line gunzip and GUI decompression versions
linux;gzip;file manager;archive