Subject: | FW: [perl #69971] umask when using CPAN |
Date: | Mon, 2 Nov 2009 09:39:41 -0500 |
To: | <bug-CPAN [...] rt.cpan.org> |
From: | "David Modl" <djmodl [...] nortel.com> |
Whenever I install software as root using CPAN it uses my umask (077 =
permissions of 700) to create the CPAN software directories.
Unfortunately, that means that no other userids can use the installed
modules.
Is there some way to set a parm in CPAN to use a particular umask, such
as 022, so I don't have to always remember to change my umask before
going into CPAN?
David Modl
Security Development and Design
IT - Data Center Solutions and Support
Nortel Networks
External: Calgary 403- 262-4010 extension 3618334
Toronto 905-863-1550 extension 3618334
Ottawa 613-763-2122 extension 3618334
USA 972-362-2000 extension 3618334
ESN 361-8334
On-call only cell 403-585-9839
djmodl@nortel.com
YAHOO ID: dmodl
Show quoted text
-----Original Message-----
From: David Landgren via RT [mailto:contact@perl.org]
Sent: October 31, 2009 1:06 PM
To: Modl, David (WIC:F662)
Subject: [perl #69971] umask when using CPAN
On Thu Oct 22 10:34:55 2009, djmodl@nortel.com wrote:
> Whenever I install software as root using CPAN it uses my umask (077 =
> perms of 700) to create the CPAN software directories. Unfortunately,
> that means that no other userids can use the installed modules.
>
> Is there some way to set a parm in CPAN to use a particular umask,
such
> as 022, so I don't have to always remember to change my umask before
> going into CPAN?
This is no doubt possible. You should file a ticket on the CPAN.pm
request tracker. See http://search.cpan.org/dist/CPAN
Thanks,
David Landgren (on behalf of the perl.org team)