[Koha-bugs] [Bug 17717] process_message_queue.pl: Can't locate Authen/CAS/Client/ Response/Failure.pm

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Wed May 24 17:57:11 CEST 2017


https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=17717

Julian Maurice <julian.maurice at biblibre.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |julian.maurice at biblibre.com

--- Comment #21 from Julian Maurice <julian.maurice at biblibre.com> ---
This bug really confuses me.

(In reply to Chris Cormack from comment #18) 
> Yep thats because you are running the script as root then. Root has
> permission to write in that dir. With for-each you are running as the user,
> it doesn't.
Why does Perl need write access to the current directory for loading a module ?

> Can't locate Authen/CAS/Client/Response/Failure.pm:   ./Authen/CAS/Client/Response/Failure.pm: Permission denied at /usr/share/perl/5.22/base.pm line 97.
suggests that ./Authen/CAS/Client/Response/Failure.pm exists but is not
readable. This file shouldn't exist as Authen::CAS::Client::Response::Failure
is defined in Authen/CAS/Client/Response.pm. Why does it exist ?

(In reply to Josef Moravec from comment #20)
> To test
> 1/ Make sure some things are in the message queue

Why ? What could possibly happen during process_message_queue.pl that trigger
an error related to a CAS module ?

And why the solution to this problem is 'cd /tmp' ? :)

-- 
You are receiving this mail because:
You are watching all bug changes.


More information about the Koha-bugs mailing list