Skip Menu |

This queue is for tickets about the Archive-Zip CPAN distribution.

Report information
The Basics
Id: 3689
Status: resolved
Priority: 0/
Queue: Archive-Zip

Owner: Nobody in particular
Requestors: tpeland [...]

Bug Information
Severity: Important
Broken in: 1.06
Fixed in: 1.07

Subject: unzip and subdirs
Download (untitled) / with headers
text/plain 915b
Using windows programs (for example the Windows XP integrated compressor) not all of the subdirectories are listed in zip-files as separate entries. The end result is that Archive-Zip is trying to create something into a directory that does not yet exist. /tmp/Archive-Zip-1.06/examples$ perl mkdir /tmp/Archive-Zip-1.06/examples/a/b: Permission denied at /usr/lib/perl5/site_perl/5.6.1/Archive/ line 2140 $ unzip -v Archive: Length Method Size Ratio Date Time CRC-32 Name -------- ------ ------- ----- ---- ---- ------ ---- 0 Stored 0 0% 09-01-03 13:37 00000000 a/b/ 282 Defl:N 200 29% 09-01-03 13:41 85d26f14 a/b/c.txt -------- ------- --- ------- 282 200 29% 2 files This message includes such an archive for you to test with.
application/x-zip-compressed 667b

Message body not shown because it is not plain text.

Download (untitled) / with headers
text/plain 305b
Maurice, can you look at this? It looks as if the attributes (at line 2124 of A::Z) are 0. Thus we do a mkpath('a/b/', 0, 0) which of course results in a non-writable directory so we can't make the file. Is there a problem in the new attribute code? I don't really have time to work on this. Thanks, Ned

This service is sponsored and maintained by Best Practical Solutions and runs on infrastructure.

Please report any issues with to