Uploaded image for project: 'Commons Compress'
  1. Commons Compress
  2. COMPRESS-86

tar entries don't set "magic" value properly for "oldgnu" longname entries

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 1.0
    • Fix Version/s: 1.1
    • Component/s: None
    • Labels:
      None

      Description

      When using the GNU longfile mode the tar classes create special archive entries containing the file name if the original name was longer than 100 characters.

      Each tar entry header holds a "magic" value indicating the format.

      For the special entries containing the file name the magic value should be "ustar " indicating the "oldgnu" format.

      See also https://issues.apache.org/bugzilla/show_bug.cgi?id=47653 and http://sunsite.ualberta.ca/Documentation/Gnu/tar-1.13/html_chapter/tar_8.html#SEC126

        Attachments

          Activity

            People

            • Assignee:
              bodewig Stefan Bodewig
              Reporter:
              bodewig Stefan Bodewig
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: