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.

Abigail

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