From cbe2b884d0163d10a29d1016700ce0f3cb29c17e Mon Sep 17 00:00:00 2001 From: Aleisha Amohia Date: Tue, 9 Apr 2024 01:19:23 +0000 Subject: [PATCH] Bug 36548: koha-zebra should fix ownership on /var/run/koha/instancename files This patch ensures the /var/run/koha/instancename/* files are owned by instancename-koha so zebra can start and stop as expected. To test, confirm that: 1. starting and stopping zebra using `koha-zebra` works as expected 2. all files in /var/run/koha/instancename/ are owned by instancename-koha Sponsored-by: Catalyst IT --- debian/scripts/koha-zebra | 2 ++ 1 file changed, 2 insertions(+) diff --git a/debian/scripts/koha-zebra b/debian/scripts/koha-zebra index 228b8c8ca20..063c3d6fba5 100755 --- a/debian/scripts/koha-zebra +++ b/debian/scripts/koha-zebra @@ -183,6 +183,8 @@ _check_and_fix_perms() fi chown "${name}-koha":"${name}-koha" ${file} done + + chown -R "${name}-koha":"${name}-koha" "/var/run/koha/${name}/" } set_action() -- 2.30.2