I'm just testing the 7zip plugins for the bug
the attributes of file/dir is not correct when extracting
and I find this bug about TC internal ZIP packer.
reproducing bug:
1. Press F7 to create a new DIR, name it to test
2. Press Alt + F5 to pack the dir test using internal zip packer, output zip name to test.zip
3. Cursor to test.zip, press Enter
You can check that orginal attribute of the DIR test is ----
and the attribute of the DIR test in test.zip is -a--
Also, if you unzip test.zip, the output test DIR will have the attribute -a--
auto add DIR with -a-- attribute when using internal zip
Moderators: Hacker, petermad, Stefan2, white
- ghisler(Author)
- Site Admin
- Posts: 50475
- Joined: 2003-02-04, 09:46 UTC
- Location: Switzerland
- Contact:
Indeed the archive attribute is always set when a new file is created - not only when packing or unpacking, but also when copying files. Other file managers and the Explorer do the same to mark files for backup.
Author of Total Commander
https://www.ghisler.com
https://www.ghisler.com
This bug I mentioned is not about the FILE, but about the DIR.
If I create a DIR (name it to Test), no matter by TC or Explorer, it does not contain the archive attribute.
If I using the XP buildin zip function to compress the DIR Test, using TC or any other compression tools, the DIR Test in the zip file does not contain the archive attribute. Also, using TC or any other compression tools to extract the zip file, the output DIR Test does not contain the archive attribute.
But, if I compress the DIR Test by TC internal ZIP function, the DIR Test in the zip file will contain the archive attribute.
Please check the following two zip files
http://dllee.miroko.tw/test/Test_byExplorer.zip
http://dllee.miroko.tw/test/Test_byTC.zip
and check the attribute of the DIR Test.
If I create a DIR (name it to Test), no matter by TC or Explorer, it does not contain the archive attribute.
If I using the XP buildin zip function to compress the DIR Test, using TC or any other compression tools, the DIR Test in the zip file does not contain the archive attribute. Also, using TC or any other compression tools to extract the zip file, the output DIR Test does not contain the archive attribute.
But, if I compress the DIR Test by TC internal ZIP function, the DIR Test in the zip file will contain the archive attribute.
Please check the following two zip files
http://dllee.miroko.tw/test/Test_byExplorer.zip
http://dllee.miroko.tw/test/Test_byTC.zip
and check the attribute of the DIR Test.
- ghisler(Author)
- Site Admin
- Posts: 50475
- Joined: 2003-02-04, 09:46 UTC
- Location: Switzerland
- Contact:
This bug should be existed a long-long time, I have check all my backup zip files have the same problem
I did not notice it ( I trust TC
), until I debug 7zip and using internal zip for comparing and testing the output results.
So, maybe everyone already used to it
But, I hope this bug will be fixed, as long as TC being a file manager, the attributes, datetime of file/dir should be handled in proper way.

I did not notice it ( I trust TC

So, maybe everyone already used to it

But, I hope this bug will be fixed, as long as TC being a file manager, the attributes, datetime of file/dir should be handled in proper way.
- ghisler(Author)
- Site Admin
- Posts: 50475
- Joined: 2003-02-04, 09:46 UTC
- Location: Switzerland
- Contact: