On 2010.10.13 2:04 AM, Manohar Koduru wrote: > The following code in ExtUtils::MM_Unix is doing chmod 664 on .bs file. This > means that two different users cannot do installation as if one user if the > owner, then the other cannot do chmod on it. Is there any solution to this? Or > am I missing something?
Having your library files be writable by anyone on the system is a security hole, anyone who gets minimum access can install a trojan, so the chmod is doing the right thing. Simplest thing to do is to put all the users who can install Perl modules into the same group. Then use newgrp to change to that group before installing modules. -- package Outer::Space; use Test::More tests => 9;