Skip Menu |

This queue is for tickets about the ExtUtils-MakeMaker CPAN distribution.

Report information
The Basics
Id: 46712
Status: rejected
Priority: 0/
Queue: ExtUtils-MakeMaker

People
Owner: Nobody in particular
Requestors: jcromie [...] cpan.org
Cc:
AdminCc:

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



Subject: Test::Smoke smoke-dir installed via CPAN is root owned
Test::Smoke smoke-dir installed via CPAN is root owned. (usually installed from tarball, so this is corner-case) CPAN* typically runs make install inside sudo, in this case (unusually) the target dirs should be returned to installing user's ownership. $ENV{SUDO_ID} is available to re-chown the dir, its not clear whether/how to achieve this in EU::MM, which is used by T-S. EU::MM::Tutorial is unsurprisingly silent on such a corner case. Module::Install looks to be able to do this in an install_script, I dont see same for EU::MM. probly not worth doing if not trivial.
On Sun Jun 07 14:41:30 2009, JCROMIE wrote: Show quoted text
> Test::Smoke smoke-dir installed via CPAN is root owned. > (usually installed from tarball, so this is corner-case) > > CPAN* typically runs make install inside sudo, > in this case (unusually) the target dirs should > be returned to installing user's ownership. > > $ENV{SUDO_ID} is available to re-chown the dir, > its not clear whether/how to achieve this in EU::MM, > which is used by T-S. EU::MM::Tutorial is unsurprisingly > silent on such a corner case. > > Module::Install looks to be able to do this in > an install_script, I dont see same for EU::MM. > > probly not worth doing if not trivial.
On Sun Jun 07 14:59:11 2009, JCROMIE wrote: attempted to delete his own ticket, having found INST_SCRIPT, right where it should have been. in the POD. Jeez.