Skip Menu |

This queue is for tickets about the CPANPLUS CPAN distribution.

Report information
The Basics
Id: 39153
Status: resolved
Priority: 0/
Queue: CPANPLUS

People
Owner: Nobody in particular
Requestors: chris [...] bingosnet.co.uk
Cc:
AdminCc:

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



Subject: sudo is set inappropriately on perl-5.6.x
Date: Wed, 10 Sep 2008 10:27:35 +0100
To: bug-cpanplus [...] rt.cpan.org
From: Chris Williams <chris [...] bingosnet.co.uk>
Problem exists in CPANPLUS-0.84 and only with perl5.6.x The default configuration seems to set 'sudo' executable even when the perl installation is local and writable by the current user. For instance, user 'cpan', and the perl is in the user's home directory: /home/cpan/rel/perl5.6.2/ Tested on Linux, Darwin and NetBSD. On Linux and Darwin, the sudo conf option gets set to the sudo executable. On NetBSD ( which has no sudo executable ) sudo conf option is set to '' With other versions of perl the sudo gets set to undef. Many thanks, -- Chris Williams aka BinGOs PGP ID 0x4658671F http://www.gumbynet.org.uk ==========================
Download (untitled)
application/pgp-signature 189b

Message body not shown because it is not plain text.

On Wed Sep 10 05:28:19 2008, chris@bingosnet.co.uk wrote: Show quoted text
> Problem exists in CPANPLUS-0.84 and only with perl5.6.x > > The default configuration seems to set 'sudo' executable even when the > perl installation > is local and writable by the current user.
Thanks for reporting; this was a logic error that set sudo incorrectly for 5.6 if a config variable that is only present in 5.8 and onwards was undefined. This is now fixed.