terrier-org / terrier-core

Terrier IR Platform
http://terrier.org/
Other
254 stars 62 forks source link

minor issue #1

Closed romanegloo closed 7 years ago

romanegloo commented 7 years ago

I guess 4.2 core binary version is not in gzip format. I was able to untar without -z option though.

cmacdonald commented 7 years ago

I just checked, its definitely in gzip format:

$file terrier-core-4.2-bin.tar.gz 
terrier-core-4.2-bin.tar.gz: gzip compressed data

Some browsers decompress automatically (e.g. Safari). I suspect that is what has happened here.

romanegloo commented 7 years ago

Indeed the file I downloaded is decompressed. --($:~/Downloads)-- file terrier-core-4.2-bin.tar.gz terrier-core-4.2-bin.tar.gz: POSIX tar archive

This should not be decompressed automatically because the file is named tar.gz

I found a similar issue from here: http://superuser.com/questions/940605/chromium-prevent-unpacking-tar-gz You may need to check the web server configs as described in one of the answers.

cmacdonald commented 7 years ago

Thanks for the useful pointer. We'll see if the webserver config can be revised to address this point.