Sounds good to me. Far from a tar expert I am though. -Ken
On Fri, Oct 3, 2008 at 4:36 PM, Eric Wilhelm <[EMAIL PROTECTED]> wrote: > > Anyone have a chance to look into this? Thoughts on any drawbacks to > stripping the directories from the list of files? > > --Eric > > ---------- Forwarded Message: ---------- > > Subject: [rt.cpan.org #39804] Archive::Tar change required (related to > the recent world-writable files issue) > Date: Friday 03 October 2008 > From: "Burak Gursoy via RT" <[EMAIL PROTECTED]> > > Ticket <URL: http://rt.cpan.org/Ticket/Display.html?id=39804 > > >> ... >> here is the problem. Archive::Tar generates the "files" with correct >> permissions, but makes "directories" 777 for some reason. >> ... >> It looks like removing directories from the list of files fixes this >> issue: > >> on line 3704 of Module/Build/Base.pm: > >> Archive::Tar->create_archive("$file.tar.gz", 1, >> grep { !-d $_ } @$files); >