develooper Front page | perl.par | Postings from May 2008

Re: pp fails with permission error

Thread Previous | Thread Next
From:
Steffen Mueller
Date:
May 8, 2008 09:34
Subject:
Re: pp fails with permission error
Dave Howorth wrote:
>> No, I used:
> 
> $ su
> # cpan
> cpan[1]> install PAR::Packer

Strange. Could you do that again and check whether there is some hint of
your original user name in the environment?
I.e. something like this:

$ su
# env | grep dhoworth
...

I'd have to check how pp actually determines the current user. I think
it first tries some kind of system call and only falls back to %ENV if
that fails. I'm pretty sure it all comes down to some su/sudo oddity,
but I thought it would apply to sudo only.

Cheers,
Steffen

Thread Previous | Thread Next


Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About