Preferred bug tracker

Please visit the preferred bug tracker to report your issue.

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

Report information
The Basics
Id:
3689
Status:
resolved
Priority:
Low/Low
Queue:

People
Owner:
Nobody in particular
Requestors:
tpeland [...] tkukoulu.fi
Cc:
AdminCc:

BugTracker
Severity:
Important
Broken in:
1.06
Fixed in:
1.07



Subject: unzip and subdirs
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 unzipAll.pl a.zip mkdir /tmp/Archive-Zip-1.06/examples/a/b: Permission denied at /usr/lib/perl5/site_perl/5.6.1/Archive/Zip.pm line 2140 $ unzip -v a.zip Archive: a.zip 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.

Message body not shown because it is not plain text.

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 runs on Request Tracker, is sponsored by The Perl Foundation, and maintained by Best Practical Solutions.

Please report any issues with rt.cpan.org to rt-cpan-admin@bestpractical.com.