0
votes

I'm trying to get multiple people to update an installed Perl by using group permissions in UNIX and the usual Makefile created out of ExUtils::MakeMaker

On a plain install, Makemaker ignores the umask and the PERM_RW variable in the Makefile and creates the installed file with the permissions

24 -r--r--r--    1 UID    GROUP        23536 May 01 15:23 Ftp.pm

This is plainly wrong for my purpose. How do I get makemaker to install files with the following permissions:

24 -rw-rw-r--    1 UID    GROUP        23536 May 01 15:23 Ftp.pm

so that they're usable by members of GROUP?

1
wrap cpan in a shell script that runs chmod g+w after the install. - choroba
The umask limits permissions, so whether MM ignores the umask or not is irrelevant since you're saying you want more permission, not less. - ikegami
This smells like a bug in EUMM. And I checked version 5.48 from 2002, it seems that this bug is forever there. Only man pages were affected by PERM_RW, nothing else. - Slaven Rezic

1 Answers

0
votes

How do I get makemaker to install files [...] so that they're usable by members of GROUP?

The permissions you said the module has are sufficient for members of group GROUP to use it. (As you can see, the group permissions are the same as the user permissions.) Only read permission is needed on modules. You've already accomplished your stated goal.