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.