Skip Menu |
 

This queue is for tickets about the DBIx-Class CPAN distribution.

Report information
The Basics
Id: 83084
Status: resolved
Priority: 0/
Queue: DBIx-Class

People
Owner: Nobody in particular
Requestors: KENTNL [...] cpan.org
zwon [...] trinitum.org
Cc:
AdminCc:

Bug Information
Severity: Important
Broken in:
  • 0.08205
  • 0.08206
Fixed in: 0.08208



Subject: DBIx::Class 0.08205 archive is broken
Download (untitled) / with headers
text/plain 641b
When I'm trying to unpack DBIx-Class-0.08205.tar.gz in /tmp as normal user I'm getting the following error: $ tar -xf DBIx-Class-0.08205.tar.gz tar: .: Cannot utime: Operation not permitted tar: .: Cannot change mode to rwxr-xr-x: Operation not permitted tar: Exiting with failure status due to previous errors I guess the reason is that archive contains './' directory entry: $ tar -tf DBIx-Class-0.08205.tar.gz | head -n 3 ./ ./DBIx-Class-0.08205/ ./DBIx-Class-0.08205/xt/ Attempt to unpack archive as root would change current directory permissions to rwxr-xr-x, which is something rather unpleasant and unexpected. -- Pavel Shaydo

 Bug is not fixed in 0.08206

cd /tmp/ ; wget http://www.cpan.org/authors/id/A/AB/ABRAXXA/DBIx-Class-0.08206.tar.gz

--2013-02-13 07:01:08--  http://www.cpan.org/authors/id/A/AB/ABRAXXA/DBIx-Class-0.08206.tar.gz

Resolving www.cpan.org... 207.171.7.177, 212.117.177.118, 2620:101:d000:8::140:1, ...

Connecting to www.cpan.org|207.171.7.177|:80... connected.

HTTP request sent, awaiting response... 200 OK

Length: 736957 (720K) [application/octet-stream]

Saving to: ‘DBIx-Class-0.08206.tar.gz’

 

100%[==============================================================================>] 736,957      571KB/s   in 1.3s   

 

2013-02-13 07:01:12 (571 KB/s) - ‘DBIx-Class-0.08206.tar.gz’ saved [736957/736957]

 

kent@katipo2 /tmp $ tar -xf DBIx-Class-0.08206.tar.gz 

tar: .: Cannot utime: Operation not permitted

tar: .: Cannot change mode to rwxr-xr-t: Operation not permitted

tar: Exiting with failure status due to previous errors

kent@katipo2 /tmp $ 

 

Subject: Re: [rt.cpan.org #83084] DBIx::Class 0.08205 archive is broken
Date: Wed, 13 Feb 2013 05:56:35 +1100
To: Kent Fredric via RT <bug-DBIx-Class [...] rt.cpan.org>
From: Peter Rabbitson <ribasushi [...] cpan.org>
Download (untitled) / with headers
text/plain 405b
On Tue, Feb 12, 2013 at 01:02:26PM -0500, Kent Fredric via RT wrote: Show quoted text
> Queue: DBIx-Class > Ticket <URL: https://rt.cpan.org/Ticket/Display.html?id=83084 > > > Bug is not fixed in 0.08206 >
Yes indeed. I didn't test the correct tarball. Natureally it does not happen on my machine. Will look into how the release was assembled exactly to figure out wtf is going on. Investigation pending...
Download (untitled) / with headers
text/plain 689b
On Tue Feb 12 13:56:50 2013, RIBASUSHI wrote: Show quoted text
> On Tue, Feb 12, 2013 at 01:02:26PM -0500, Kent Fredric via RT wrote:
> > Queue: DBIx-Class > > Ticket <URL: https://rt.cpan.org/Ticket/Display.html?id=83084 > > > > > Bug is not fixed in 0.08206 > >
> > Yes indeed. I didn't test the correct tarball. Natureally it does not > happen on my machine. Will look into how the release was assembled > exactly to figure out wtf is going on. > > Investigation pending... >
It turned out to be PAUSE's fault: https://github.com/andk/pause/issues/26 The underlying problem (worldwritables in the DBIC tarbal) has now been fixed: https://github.com/dbsrgits/dbix-class/commit/ad944588
Download (untitled) / with headers
text/plain 415b
This has finally ben properly fixed (the underlying PAUSE issue is still outstanding) rabbit@Ahasver:~$ wget -qO - http://cpan.metacpan.org/authors/id/A/AB/ABRAXXA/DBIx-Class-0.08206.tar.gz | tar -zvt | grep -P '\.\/$' | wc 1 6 51 rabbit@Ahasver:~$ wget -qO - http://cpan.metacpan.org/authors/id/R/RI/RIBASUSHI/DBIx-Class-0.08208.tar.gz | tar -zvt | grep -P '\.\/$' | wc 0 0 0


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

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