perl.cpan.workers
  Home FAQ Contact Sign in
perl.cpan.workers only
 
Advanced search
September 2008
motuwethfrsasuw
1234567 36
891011121314 37
15161718192021 38
22232425262728 39
2930      40
2008
 Jan   Feb   Mar   Apr 
 May   Jun   Jul   Aug 
 Sep   Oct   Nov   Dec 
2008      
total
perl.cpan.workers Profile…
RELATED GROUPS

POPULAR GROUPS

more...

 Up
  Re: [RFC] Dealing with World-writable Files in the Archive of CPAN Distributions         


Author: David Golden
Date: Sep 22, 2008 13:00

[Copying Andreas, Jos, Schwern and the Module::Build list]

Well, I'm not sure that escalating to Securiteam at this point was
necessary given the low overall risk of the threat, but let's set that
aside and find some agreement on closing the hole. Here are my
thoughts on some of the problems/options:

Problem 1: race condition between unarchiving and execution if
Makefile.PL or Build.PL is world writable (ditto test files as well)

(a) Have CPAN and CPANPLUS refuse to run 'perl *.PL' if the PL in
question is world writable.

(b) Have CPAN and CPANPLUS not preserve mode permissions even for
root; that's "--no-same-permissions") for tar or $Archive::Tar::CHMOD
= 0 for Archive::Tar. I presume there's a comparable thing for zip
archives. That leaves it up to the users umask setting.

(c) Both

(d) Something else

(e) Ignore it

Personally, I lean towards (b) as that seems relatively sane and
minimally disruptive.
Show full article (3.79Kb)
no comments
  Re: cpan commandline script         


Author: Brian D Foy
Date: Sep 19, 2008 14:06

On Thu, Sep 18, 2008 at 3:50 PM, Tina Müller wrote:
> Hi Brian,
>
> On Wed, 17 Sep 2008, brian d foy wrote:
>
>> Also, since you want the feature, you have to be a tester. :)
>
> of course =)

I'm moving this over to cpan-workers@perl.org so anyone can read the
thread and it shows up in google, etc.
> Andreas showed me today how to convince CPAN::Shell to use a different
> directory. You call
> perl -I ~/.mycpan -MCPAN/MyConfig.pm -MCPAN -e shell
> (after creating an almost empty ~/.mycpan/CPAN/MyConfig.pm).

This is basically what the new -j switch to cpan does, although it
doesn't try to figure out if the configuration you load is valid yet.
Show full article (1.39Kb)
no comments
  Re: cpan commandline script         


Author: David Golden
Date: Sep 17, 2008 13:40

On Wed, Sep 17, 2008 at 4:24 PM, brian d foy cpan.org> wrote:
> David Golden is one of the CPAN.pm maintainers, so he might be
> interested in this discussion too. David, is there a CPAN.pm
> developers mailing list this should be on?

Sort of. In Oslo, various people said we should reactivate
cpan-workers@perl.org for discussions about how to move the CPAN tools
and ecosystem forward. So I and some other have subscribed but
there's been not much traffic. But come join! We can start it up.

I like the idea. My personal wishlist for CPAN.pm is to eventually
eliminate all the globals and global file locking so multiple CPAN's
can run concurrently. Then multiple config files become potentially
even more useful.

-- David
1 Comment
  Re: distroprefs suggestion: installer         


Author: Hans Dieter Pearcey
Date: Apr 10, 2008 11:46

On Thu, Apr 10, 2008 at 08:49:31AM +0200, Andreas J. Koenig wrote:
>> Changing distroprefs to load additional preferences (or re-match based on
>> additional information including installers) may not be entirely crazy, but it
>> adds a level of complexity I wouldn't really want to get into unless it was
>> clearly needed.
>
> No, that's already there! Mostly untested but in place. The major
> obstacle at the moment is that nobody specifies dynamic_config=0 in
> their META.yml and so I cannot use the optional_features that I find
> there.

Hmm, I'll have to take another look at that; it sounds interesting.
Show full article (2.22Kb)
no comments
  test         


Author: Hans Dieter Pearcey
Date: Apr 10, 2008 04:34

hellooooo

hdp.
1 Comment