Menu

#2232 Incomplete tar file support: posix format not recognized

None
open-accepted
nobody
5
2019-12-16
2019-11-07
Ben M
No

Hello,

7zip has incomplete tar file support.
I tried to open a tar file with the "posix format" and very long file names (names > 100). 7zip will cap the file names to 100 chars (fallback).

This does not happen when such a file was packed using tar --format=gnu. Since ~2013, tar will default to tar --format=posix. The posix format came around in 2001.

You can read the description of the formats here:
https://www.gnu.org/software/tar/manual/html_chapter/tar_8.html

This is the implementation detail:
https://www.gnu.org/software/tar/manual/html_node/Standard.html

Would it be possible to fix this bug? I consider this a bug, because this is unexpected behaviour and 7z does not warn about it.

Thank you very much!

Discussion

  • Igor Pavlov

    Igor Pavlov - 2019-11-07

    it's not a bug.
    It's missing of feature.

     
    👍
    1
  • Igor Pavlov

    Igor Pavlov - 2019-11-07
    • status: open --> open-accepted
    • Group: -->
     
  • Ben M

    Ben M - 2019-11-08

    Thanks! Well, I can understand that this is a missing feature, as it is just another format. Not implementing it will make it fall back to the oldest TAR format there is.

    Do you need a reproducible example?
    Is there a possibility to send donations? :)

     

Log in to post a comment.