This queue is for tickets about the Module-Install CPAN distribution.

Report information
The Basics
Id:
65504
Status:
new
Priority:
Low/Low

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

BugTracker
Severity:
Normal
Broken in:
1.00
Fixed in:
(no value)



Subject: install_share as two different users, where the second user is not root fails
This fails with install_share; in Makefile.PL: $ perl Makefile.PL $ make $ sudo -u otheruser make install Reason for this is that \t\$(NOECHO) \$(CHMOD) $perm_dir "$root${S}$path" cannot be run as non-root user on a directory owned by another user. Questions: 1) Why is this chmod command required to be run at all? 2) Can it be a postamble to the default "make" action instead? My solution now is that I've created a install_share_without_root; action which is identical to Module::Install::Share, but simply skips the "chmod" step - seems to work nicely.


This service runs on Request Tracker, is sponsored by The Perl Foundation, and maintained by Best Practical Solutions.

Please report any issues with rt.cpan.org to rt-cpan-admin@bestpractical.com.