PeterRyan has asked for the wisdom of the Perl Monks concerning the following question:

Hi,

Solaris 10, PERL 5.8.4.

I am using perlgcc and CPAN to install various perl modules in support of Twiki 4.3.2.

I am testing by /usr/perl5/bin/instmodsh for both root and webservd. To get to webservd I am using su - webservd.
Root can see all the installed modules. webservd can only see what appears to be the originally install perl modules.

The twiki configure module has the ability to show the @INC it believes it is working with. It seems to show the /usr/perl5/5.8.4/.. sub-directories.

I have tried chmod +R a+r /usr/perl5 to ensure that all the perl modules are world readable.

I still get Error: Can't find HTML::Parser.

Is there a way to help webservd see all the perl modules?

Thank you,
Peter

Replies are listed 'Best First'.
Re: Root installed perl modules not see by webservd
by almut (Canon) on Mar 15, 2010 at 21:10 UTC
    I have tried chmod +R a+r /usr/perl5

    Try

    chmod -R a+rX ... ^

    Directories need to have the 'x' bit set for them to be traversable across a path...

    ('r' controls whether the directory contents can be listed, but this is only possible if the directories can be accessed at all, which is controlled by 'x').

      almut,

      Many thanks, that worked!
      I often am held up by things I think should work... but do not.

      beer:30,
      Peter