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)
committerLucas Gass <lucas@bywatersolutions.com>
Tue, 16 Jun 2020 22:33:47 +0000 (22:33 +0000)
commitff26937f5035cc41d5b3b1b17cfc3336d73d1b5c
tree62b4f8cf99c6d4685849dd999419aa345ec20f39
parentbfdd12d7c1c5df21a633b68b36af9043dc931395
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>
debian/koha-common.postinst