Error displaying and extracting files packed on linux (-2o*)

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

Moderators: Hacker, petermad, Stefan2, white

Post Reply
Jacek
Junior Member
Junior Member
Posts: 8
Joined: 2007-06-08, 19:09 UTC

Error displaying and extracting files packed on linux (-2o*)

Post by *Jacek »

Hi,

I have found a bug in unarj internal module.
When files are packed on linux operating system with option (-2o, -2o1 or -2o2), totalcmd is unable to display and extract such archive.
What is -2o* parameter:

Code: Select all

 2o: [UNIX] store/restore file ownership
2o1: store numeric UID/GID values
2o2: same as -2o but saves group as well
Any other windows based programs (including arj.exe and arj32.exe; also 7zip) can correctly display all files in archive and can extract the files.
Internal UNARJ module display only the first file in archive and cannot view and extract files.

I have attached an example arj archive build on linux with all -2o* group:
[links removed due to spam policy - if you would like them, I will put this links]
All archives contain the same 9 files with 'test X' content (where X is a digit from 1 to 9).

PS: when I uncheck in Packer configuration to use internal un-arj module and enter a valid arj.exe (or arj32.exe) unpacker, all files are extracted correctly.

Is it possible to fix this error?
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 50390
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Post by *ghisler(Author) »

The internal ARJ unpacker is very old, so I assume that these Unix IDs are using some ARJ extension added at a later time. Can you send me the link to your sample ARJ by e-mail to beta at ghisler dot com, please?
Author of Total Commander
https://www.ghisler.com
Jacek
Junior Member
Junior Member
Posts: 8
Joined: 2007-06-08, 19:09 UTC

Post by *Jacek »

An email was send. Thank you for your attention.
Reg number: #146831, #147830
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 50390
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Post by *ghisler(Author) »

Thanks, got it, and found a workaround!
Author of Total Commander
https://www.ghisler.com
User avatar
Flint
Power Member
Power Member
Posts: 3501
Joined: 2003-10-27, 09:25 UTC
Location: Belgrade, Serbia
Contact:

Post by *Flint »

Fixed in 7.01.
Flint's Homepage: Full TC Russification Package, VirtualDisk, NTFS Links, NoClose Replacer, and other stuff!
 
Using TC 11.03 / Win10 x64
Jacek
Junior Member
Junior Member
Posts: 8
Joined: 2007-06-08, 19:09 UTC

Post by *Jacek »

2Flint
It is a great news, but... there are serious bugs connected with it.
All dates in arj files (doesn't matter packed with or without -2o* parameter) are damaged.

Also in attached test files.
Real date: 2007-05-24 14:19
Date in archive: 2015-02-21 16:22

If it is recommended, I will start a new topic, but it is connected with my report ;)

PS: it there will be any beta or pre-release of 7.02, I'm interested to test it before official release - to make sure everything is all right.
Reg number: #146831, #147830
Jacek
Junior Member
Junior Member
Posts: 8
Joined: 2007-06-08, 19:09 UTC

Post by *Jacek »

Once more - in my test files (which Christian recieved), real date was:
2007-06-08 21:34
currently (with 7.01) they are: 2015-03-09 21:58
Reg number: #146831, #147830
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 50390
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Post by *ghisler(Author) »

Apparently RAR is storing the date in a different format in this case (Unix format?). I will check that.
Author of Total Commander
https://www.ghisler.com
User avatar
Hacker
Moderator
Moderator
Posts: 13141
Joined: 2003-02-06, 14:56 UTC
Location: Bratislava, Slovakia

Post by *Hacker »

ARJ...

Roman
Mal angenommen, du drückst Strg+F, wählst die FTP-Verbindung (mit gespeichertem Passwort), klickst aber nicht auf Verbinden, sondern fällst tot um.
Post Reply