@@ -, +, @@ $ koha-create --create-db test $ koha-z3950-responder --enable test $ koha-z3950-responder --start test $ yaz-client localhost:2100 $ koha-z3950-responder --stop test $ PERL5LIB=/usr/share/koha/lib KOHA_CONF=/etc/koha/sites/test/koha-conf.xml \ /usr/bin/perl /usr/share/koha/bin/z3950_responder.pl \ -c /etc/koha/sites/test/z3950 -u test-koha \ -p /var/run/koha/test/z3950-responder.pid -d test-koha-z3950 $ chown test-koha /etc/koha/sites/test/log4perl.conf $ debian/scripts/koha-create --created-db test1 $ ls -l /etc/koha/sites/test2 -rw-r----- 1 root test2-koha 19720 May 17 13:26 koha-conf.xml -rw-r----- 1 test2-koha test2-koha 2825 May 17 13:26 log4perl.conf -rw-r----- 1 root test2-koha 2014 May 17 13:26 zebra-authorities-dom.cfg -rw-r----- 1 root test2-koha 2279 May 17 13:26 zebra-biblios-dom.cfg -rw-r----- 1 root test2-koha 26 May 17 13:26 zebra.passwd --- debian/scripts/koha-create | 3 +++ 1 file changed, 3 insertions(+) --- a/debian/scripts/koha-create +++ a/debian/scripts/koha-create @@ -102,6 +102,9 @@ EOF generate_config_file() { touch "$2" chown "root:$username" "$2" + # Bug 28364: the z3950 responder needs other permissions + [ "$1" = "log4perl-site.conf.in" ] && chown "$username:$username" "$2" + chmod 0640 "$2" sed -e "s/__KOHA_CONF_DIR__/\/etc\/koha\/sites\/$name/g" \ -e "s/__KOHASITE__/$name/g" \ --