[TC 11.50b2] Pack using tar format to very long path

Bug reports will be moved here when the described bug has been fixed

Moderators: Hacker, petermad, Stefan2, white

Post Reply
User avatar
white
Power Member
Power Member
Posts: 5964
Joined: 2003-11-19, 08:16 UTC
Location: Netherlands

[TC 11.50b2] Pack using tar format to very long path

Post by *white »

Pack some files to a tar file in this folder: d:\123456789_123456789_123456789_123456789_123456789_\123456789_123456789_123456789_123456789_123456789_\123456789_123456789_123456789_123456789_123456789_\123456789_123456789_123456789_123456789_123456789_\123456789_123456789_123456789_123456789_123456789_\
The filename of the resulting file will be cut off after the first character without any warning.

While 7-Zip can handle paths longer than 259 chars when creating or unpacking tar files, TC cannot. Perhaps TC should support it as well. Right now, you sometime get no error, sometimes a cryptic error like when doing this:

Pack some files to a tgz file in this folder:
d:\123456789_123456789_123456789_123456789_123456789_\123456789_123456789_123456789_123456789_123456789_\123456789_123456789_123456789_123456789_123456789_\123456789_123456789_123456789_123456789_123456789_\123456789_123456789_123456789_123456789_123456789_\1\
You get this error:
Cannot modify TGZ files! Please open the TAR file inside the TGZ file, and add files to it instead.
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 50817
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Re: [TC 11.50b2] Pack using tar format to very long path

Post by *ghisler(Author) »

The TAR packer does not currently support names longer than 259 characters, sorry.
Author of Total Commander
https://www.ghisler.com
User avatar
white
Power Member
Power Member
Posts: 5964
Joined: 2003-11-19, 08:16 UTC
Location: Netherlands

Re: [TC 11.50b2] Pack using tar format to very long path

Post by *white »

ghisler(Author) wrote: 2024-10-22, 09:09 UTC The TAR packer does not currently support names longer than 259 characters, sorry.
I already stated that. But do you find this acceptable:
white wrote: 2024-10-21, 17:13 UTC The filename of the resulting file will be cut off after the first character without any warning.
User avatar
white
Power Member
Power Member
Posts: 5964
Joined: 2003-11-19, 08:16 UTC
Location: Netherlands

Re: [TC 11.50b2] Pack using tar format to very long path

Post by *white »

HISTORY.TXT wrote: 22.10.24 Fixed: TAR packer: Abort if the archive name is longer than 259 characters (32/64)
Tested OK using TC 11.50B3 32-bit and 64-bit.

Moderator message from: white » 2024-10-23, 16:27 UTC

Moved topic
» from TC11.x bug reports (English) to TC Fixed bugs
Post Reply