umask and CPAN installs

From: JVarsoke (usenet.9.jvarsoke_at_spamgourmet.com)
Date: 02/28/04


Date: 28 Feb 2004 08:11:59 -0800

The root account on my system has a very strict umask for security
reasons. Normally when I install programs this is not a problem. But
when I use perl -MCPAN to install modules they are always installed
with the umask, and thus nobody can use them except root. Is there a
way to tell CPAN to open the permissions on modules at installation
time? Otherwise I need to hunt around for all the files (.pm and .so)
and chmod 644 them -- which is error prone and annoying.

Any suggestions?

-jason



Relevant Pages

  • Re: Cannot login to root account on FreeBSD 7.0
    ... Cannot login to root account on FreeBSD 7.0 ... I found something a bit more interesting, csh crashes ... `CFLAGS='-ggdb' make`, then run `make install`. ...
    (freebsd-questions)
  • Re: Internet Explorer
    ... installed in my root account and I thought that would be all I needed. ... I can install esword to my root account and it works perfectly, ... will not install to my user account. ...
    (Ubuntu)
  • Re: Internet Explorer
    ... installed in my root account and I thought that would be all I needed. ... I can install esword to my root account and it works perfectly, ... will not install to my user account. ...
    (Ubuntu)
  • Re: problem using a module
    ... >>HTH, ... > Can't locate loadable object for module DBI in @INC (@INC contains: ... Your best bet is to use CPAN to install the module. ... to install modules into a non-standard location is a widely covered topic. ...
    (perl.beginners)
  • Re: Internet Explorer
    ... installed in my root account and I thought that would be all I needed. ... I can install esword to my root account and it works perfectly, ... will not install to my user account. ... again not to the root account but your normal user account. ...
    (Ubuntu)