+8.5b3 Support for 7z

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

Moderators: Hacker, petermad, Stefan2, white

User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 50541
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Post by *ghisler(Author) »

These two files contain a lot of different 7zip sfx modules, and none of them contains the signature.
Author of Total Commander
https://www.ghisler.com
User avatar
gora
Junior Member
Junior Member
Posts: 87
Joined: 2010-12-17, 10:37 UTC
Location: Russian

Post by *gora »

Yes, it is, but it's not official modules archiver 7-zip, and the modified modules.

Official modules contain signature.
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 50541
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Post by *ghisler(Author) »

Ah, I see - I will try with the latest 7zip installer.
Author of Total Commander
https://www.ghisler.com
User avatar
deus-ex
Power Member
Power Member
Posts: 979
Joined: 2003-02-10, 17:45 UTC

Post by *deus-ex »

deus-ex wrote:
ghisler(Author) wrote:TC is currently looking for the following signature:
37 7A BC AF 27 1C 00 03
however, the files which don't work contain
37 7A BC AF 27 1C 00 04
TC also throws an 'access denied on target file" error for every subfolder of an 7-Zip archive with header 37 7A BC AF 27 1C 00 02 (7-Zip v4.43, v4.57).
The contents and folder structure of theses archives are completely unpacked nevertheless, just the subfolders itself don't get their date/time stamp restored.
Unpacking of mentioned 7-Zip archives works now without any error message. But TC does not restore timestamps of the subfolders.
Additionally I detected a similar issue with RAR5 archives were TC does not restore timestamps of files and subfolders, extracted subfolders are all get stamped 01-01-1985.
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 50541
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Post by *ghisler(Author) »

Timestamps of folders are never restored from archives.
Author of Total Commander
https://www.ghisler.com
User avatar
gora
Junior Member
Junior Member
Posts: 87
Joined: 2010-12-17, 10:37 UTC
Location: Russian

Post by *gora »

SFX problem is solved. Thank you.
The problem of multi-volume 7z archives (#9) remained.
User avatar
deus-ex
Power Member
Power Member
Posts: 979
Joined: 2003-02-10, 17:45 UTC

Post by *deus-ex »

ghisler(Author) wrote:Timestamps of folders are never restored from archives.
Hmm, that's not quite correct according to my experience. For Rar v4x (and below) archives the timestamp of folders is restored indeed when unpacking with TC. As it currently stands restoring of timestamps is completely missing for RAR5 archives, for 7-Zip archives only file timestamps get restored. Note that the 7-Zip archiver is able to restore subfolder timestamps, too.
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 50541
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Post by *ghisler(Author) »

9 Multi-volume 7z archives. You can open the archive, but it is empty .
Can you please explain this? I don't have troubles entering a multi-volume archive. Just open the first part.
Author of Total Commander
https://www.ghisler.com
User avatar
deus-ex
Power Member
Power Member
Posts: 979
Joined: 2003-02-10, 17:45 UTC

Post by *deus-ex »

deus-ex wrote:As it currently stands restoring of timestamps is completely missing for RAR5 archives, for 7-Zip archives only file timestamps get restored. Note that the 7-Zip archiver is able to restore subfolder timestamps, too.
Correction: TC fully restores file and folder timestamps of RAR5 archives if available. RAR5 behaves slightly different regarding the timestamp parameter "-ts". A misconception in my batch routine would result in RAR5 archives without any stored timestamps. This has now been compensated for.


So to this regard currently TC only lacks restoration of 7-Zip archive folder timestamps, which is supported by the 7-Zip archiver executable.
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 50541
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Post by *ghisler(Author) »

Sorry, currently not planned. The problem is that when the folders are strored before the files, unpacking the files changes the folder timestamps on NTFS to current time.
Author of Total Commander
https://www.ghisler.com
User avatar
deus-ex
Power Member
Power Member
Posts: 979
Joined: 2003-02-10, 17:45 UTC

Post by *deus-ex »

I understand, no problem. I checked this feature with latest 7-Zip standalone executable, file and folder timestamps are restored regardless of the archive version. Probably the trick 7-Zip does is to first unpack the archive contents, then stamp the files and folders in a second run?
User avatar
MVV
Power Member
Power Member
Posts: 8711
Joined: 2008-08-03, 12:51 UTC
Location: Russian Federation

Post by *MVV »

If it will be changed, it must be optional. E.g. I don't need to restore any folder dates or any creation dates from archives.
User avatar
gora
Junior Member
Junior Member
Posts: 87
Joined: 2010-12-17, 10:37 UTC
Location: Russian

Post by *gora »

ghisler(Author) wrote:Can you please explain this? I don't have troubles entering a multi-volume archive. Just open the first part.
https://dl.dropboxusercontent.com/u/35142695/tc.png

https://dl.dropboxusercontent.com/u/35142695/test.rar
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 50541
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Post by *ghisler(Author) »

That's a strange naming scheme, how was this created?
Author of Total Commander
https://www.ghisler.com
User avatar
gora
Junior Member
Junior Member
Posts: 87
Joined: 2010-12-17, 10:37 UTC
Location: Russian

Post by *gora »

ghisler(Author) wrote:That's a strange naming scheme, how was this created?
This is standard names. (7-Zip v9.30)
https://dl.dropboxusercontent.com/u/35142695/7z.png
Post Reply