Skip Menu |

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

Report information
The Basics
Id: 65504
Status: new
Priority: 0/
Queue: Module-Install

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

Bug Information
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.