Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl Monk, Perl Meditation

Re: Module loads ok for root, not ok for user

by Abigail-II (Bishop)
on Oct 27, 2003 at 15:44 UTC ( #302412=note: print w/replies, xml ) Need Help??

in reply to Module loads ok for root, not ok for user

Did you by any chance install DBI as root, while having a umask of 077? In that case, one or more directories may have permission drwx------, making the files in them accessable to root, but not to any other user.

I've been bitten by this many, many times, and it always bugs me that 'make install' isn't very DWIMish, and doesn't make files/directories readable by world by default.


Replies are listed 'Best First'.
Re: Re: Module loads ok for root, not ok for user
by Trimbach (Curate) on Oct 27, 2003 at 17:05 UTC
    That's what it was. How annoying... I've upgraded/installed a number of modules on several different boxes (always as root) and this is the first time it's bitten me. Ouch.

    It's fixed now. Thanks a lot! :-)

    Gary Blackburn
    Trained Killer

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://302412]
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others having an uproarious good time at the Monastery: (7)
As of 2016-10-27 16:52 GMT
Find Nodes?
    Voting Booth?
    How many different varieties (color, size, etc) of socks do you have in your sock drawer?

    Results (366 votes). Check out past polls.