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

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 1.0
    • 1.1
    • None
    • 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

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

            Dates

              Created:
              Updated:
              Resolved: