Skip Menu |

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

Report information
The Basics
Id: 47365
Status: stalled
Priority: 0/
Queue: Archive-Extract

People
Owner: Nobody in particular
Requestors: adamk [...] cpan.org
Cc:
AdminCc:

Bug Information
Severity: Normal
Broken in: (no value)
Fixed in: (no value)



Subject: Archive::Extract does not validate that the ->extract_path is usable
When Archive::Extract (with $PREFER_BIN enabled) unrolls are tarball it does not check for executable permissions on the root directory returned by extract_path. As a result, Archive::Extract can return a path which cannot be chdir'ed into.
On Fri Jun 26 07:02:21 2009, ADAMK wrote: Show quoted text
> When Archive::Extract (with $PREFER_BIN enabled) unrolls are tarball it > does not check for executable permissions on the root directory returned > by extract_path. > > As a result, Archive::Extract can return a path which cannot be chdir'ed > into.
This is the default behaviour of /bin/tar which A::E really knows nothing about. It also doesn't appear to be 'wrong' according to the spec. I'm inclined to list this as a 'wont fix', but I'm open to clever suggestions...