We upgraded from perl 5.14.2 to perl 5.20.2 and updated most of our modules this last weekend. Our programming staff have no problems running anything but our end users are all getting messages like:

Can't locate MIME/Lite.pm:   Permission denied at /path_to_script/msg_send.pl line 18.
BEGIN failed--compilation aborted at /path_to_script/msg_send.pl line 18.
I'm guessing something has the wrong perms but cannot track it down. MIME::Lite is installed and the permissions are:
drwxr-sr-x  3 root common     96 May 23 12:49 lib/site_perl/
drwxr-sr-x 56 root common   8192 May 24 11:11 lib/site_perl/5.20.2/
drwxr-sr-x  2 root common   8192 May 23 13:16 lib/site_perl/5.20.2/MIME/
-r--r--r--  1 root common 105117 Nov  3  2013 lib/site_perl/5.20.2/MIME/Lite.pm
I'll note that every normal user of our system is in the common group. Also end users have no problems if no modules are used.


In reply to Permission denied to module by zdavek

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.