Bug 25693: Set correct permissions on logdir after an upgrade
authorJonathan Druart <jonathan.druart@bugs.koha-community.org>
Mon, 8 Jun 2020 12:14:22 +0000 (14:14 +0200)
committerAleisha Amohia <aleishaamohia@hotmail.com>
Wed, 17 Jun 2020 00:21:53 +0000 (12:21 +1200)
commitafd4f0e3c380373736969f06bbffda97fd7a2a79
tree1cf56cc5df3cac6922a2e618e247b12804272db9
parent0ed56937655e15868e9864afc875153bff0ad8e4
Bug 25693: Set correct permissions on logdir after an upgrade

Since bug 25172 we are failing loudly if the permissions are not correct
and that the logger cannot init successfully.

We must set the correct permission on upgrading.
koha-create deals with new installs

Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
(cherry picked from commit 88cd45b0903ae7cfd8939045e60ffc7b0361e16c)

Signed-off-by: Lucas Gass <lucas@bywatersolutions.com>
(cherry picked from commit ff26937f5035cc41d5b3b1b17cfc3336d73d1b5c)
Signed-off-by: Aleisha Amohia <aleishaamohia@hotmail.com>
debian/koha-common.postinst