[Koha-bugs] [Bug 13876] Permission issues on updating via installer - dev installations
bugzilla-daemon at bugs.koha-community.org
bugzilla-daemon at bugs.koha-community.org
Fri Apr 17 09:52:28 CEST 2015
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=13876
--- Comment #23 from Jonathan Druart <jonathan.druart at biblibre.com> ---
Created attachment 38000
-->
http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=38000&action=edit
Bug 13876: Fallback to /tmp if logdir is not writable
If the logdir directory is not writable by the koha user, the installer
should not explode.
This patch uses a temporary directory as a fallback.
That means that the history won't be kept.
Test plan:
0/ Generate an update (modify updatedatabase.pl and kohaversion)
1/ Make sure the permission are not correct on $logdir
2/ Go on the interface and execute the update entry.
3/ Confirm that the log has been created in a temporaty directory.
Retry with correct permissions and confirm the log will be created in
$logdir.
Signed-off-by: Marcel de Rooy <m.de.rooy at rijksmuseum.nl>
Adding a follow-up for completely resolving encountered issues.
Signed-off-by: Katrin Fischer <Katrin.Fischer.83 at web.de>
Signed-off-by: Chris Nighswonger <cnighswonger at foundations.edu>
Signed-off-by: Jonathan Druart <jonathan.druart at biblibre.com>
--
You are receiving this mail because:
You are watching all bug changes.
More information about the Koha-bugs
mailing list