Menu

#904 Strange things happen renaming or deleting zip file content

New
nobody
None
Medium
Other
2026-01-13
2026-01-12
Ali Baubau
No

When adding, renaming or deleting some content of a zip file, under certain conditions, Peazip is unable to update the actual file and generates one or two new name.zip.tmp files.
This happened especially operating with LibreOffice ods files.
The attached demo file shows this behaviour on my PC.
Windows 11 25H2 and PeaZip 10.8.0 x64.

1 Attachments

Discussion

  • Giorgio Tani

    Giorgio Tani - 2026-01-12

    Extracting the test zip file and zipping the content again with PeaZip (default settings), results in archive which can be updated (delete or rename) without issues.
    Can you point me to settings used in producing the TEST.zip file?

     
  • Ali Baubau

    Ali Baubau - 2026-01-12

    Is the attached profile enough to describe the settings?
    I have installed Peazip a few days ago without changing any settings (as I remember...) so only after the problem appeared I tried to change some settings...

     
  • Ali Baubau

    Ali Baubau - 2026-01-12

    After completely uninstalling Peazip and installing again, I extracted the TEST.zip file and zipped it again getting" TEST - 1.zip". I did 3 testing with it:
    1. rename and delete in TEST - 1.zip were successful as you suggested
    2. the drag and drop of the same initial TEST.zip file in the TEST - 1.zip was without issue
    3. repeating a rename ended with an error and 3 files TEST - 1.zip, TEST - 1.zip.tmp, TEST - 1.zip.tmp1

     
  • Giorgio Tani

    Giorgio Tani - 2026-01-13

    Thank you for the feedback.
    I've found a bug in the zip comment check procedure, that can cause the archive to remain locked in some cases, which is what it is preventing modifications to archive as in the reported issue.
    It will be fixed in the next update.

     
  • Ali Baubau

    Ali Baubau - 2026-01-13

    Thanks for your good work! PeaZip is very fine.

     

Log in to post a comment.

MongoDB Logo MongoDB