[Koha-bugs] [Bug 19760] Die instead of warn if koha-conf is not accessible

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Wed Dec 6 18:59:57 CET 2017


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

Jon Knight <J.P.Knight at lboro.ac.uk> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
  Attachment #69568|0                           |1
        is obsolete|                            |

--- Comment #2 from Jon Knight <J.P.Knight at lboro.ac.uk> ---
Created attachment 69571
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=69571&action=edit
Bug 19760: Die if koha-conf is not accessible

We got a lot of support questions because scripts are executed without
the correct environment/user.
We could die and provide more useful information

Tested on my kohadevbox VM by:

1) sudo chmod a-rx /etc/koha/sites/kohadev/koha-conf.xml
2) run help.pl from the command line to produce the desired die message
3) sudo chmod a+rx /etc/koha/sites/kohadev/koha-conf.xml
4) rerun help.pl successfully

Signed-off-by: Jon Knight <J.P.Knight at lboro.ac.uk>

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


More information about the Koha-bugs mailing list