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

Andreas Roussos <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |CONFIRMED

--- Comment #1 from Andreas Roussos <[email protected]> ---
(In reply to Saiful Amin from comment #0)
> [...]
> Expected Result:
> All log files under /var/log/koha/<instance>/ should be owned by
> <instance>-koha:<instance>-koha, identical to a normal koha-create run
> without the request/populate split.
> [...]
Thank you, Saiful, for the detailed Bug Description and the steps to reproduce.

I can confirm this is still an issue, which relates to this line in the script:
https://git.koha-community.org/Koha-community/Koha/src/commit/c58989fc51bf41fc92fd568875f304c03aa075f6/debian/scripts/koha-create#L924

924     chown $username:$username /var/log/koha/$name/*.log

At this point in the script the $username variable is empty,
so the `chown` command becomes:

chown : /var/log/koha/test/*.log

The chown(1) man page states: "If only a colon is given, or if the
entire operand is empty, neither the owner nor the group is changed."

-- 
You are receiving this mail because:
You are watching all bug changes.
You are the assignee for the bug.
_______________________________________________
Koha-bugs mailing list
[email protected]
https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/

Reply via email to