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
MIME-Version: 1.0
Content-Type: text/plain; charset="UTF-8"
X-Mailer: MIME-tools 5.427 (Entity 5.427)
Content-Disposition: inline
Content-Transfer-Encoding: binary
X-RT-Original-Encoding: utf-8
Content-Length: 563
Download (untitled) / with headers
text/plain 563b
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 is sponsored and maintained by Best Practical Solutions and runs on Perl.org infrastructure.

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