On Fri, 19 Aug 2005 [EMAIL PROTECTED] wrote:

> I am trying to run a perl script which "uses" RRDs.pm.  It works fine as
> Root, but not fine as another user. I get:
>
> Can't locate loadable object for module RRDs in @INC (@INC contains:

On Trustix systems you will frequently run across problems like this.
The root account's umask setting causes files to be installed so that
they are readable only by root. Mostly I think it is good to have
the default be more secure but it means every time you install
something you have to remember to check and fix permissions.

You should be able to do something like this:

cd /usr/lib/perl5
find . -type f -exec chmod go+r {} \;
find . -type d -exec chmod go+rx {} \;

The first find sets read on all files in the perl library tree.
The second find sets read and execute on the directories.

Brian

_______________________________________________
tsl-discuss mailing list
[email protected]
http://lists.trustix.org/mailman/listinfo/tsl-discuss

Reply via email to