Uploaded image for project: 'Crowd Data Center'
  1. Crowd Data Center
  2. CWD-4975

Standalone tar.gz downloads are gzipped twice and fail to uncompress with tar on linux

    XMLWordPrintable

Details

    Description

      Summary

      The standalone downloads from the Crowd website for versions 3.0.1 are gzipped twice.

      The Mac version of tar will handle this without issue and a tar -zxf will work as expected. However, on linux tar will fail to unzip and untar the download.

      Environment

      • CentOS 7 (all linux versions most likely)

      Steps to Reproduce

      1. Download standalone atlassian-crowd-3.0.1.tar.gz with using Firefox
      2. Attempt to extract using tar -zxf

      Expected Results

      File is extracted to directory.

      Actual Results

      $ tar -zxf atlassian-crowd-3.0.1.tar.gz
      tar: This does not look like a tar archive
      tar: Skipping to next header
      tar: Exiting with failure status due to previous errors
      

      Note

      See Artur Pawelczyk's comment on JSWSERVER-15845.

      Workaround

      1. Use gunzip and then rename to get tar working:
        $ gunzip atlassian-crowd-3.0.1.tar.gz
        $ mv atlassian-crowd-3.0.1.tar atlassian-crowd-3.0.1.tar.gz
        $ tar -zxf atlassian-crowd-3.0.1.tar.gz
        
      2. Use other browser to download the tar file

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              yokamoto Yuki Okamoto (Inactive)
              Votes:
              1 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated: