[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
Thu Mar 19 16:58:34 CET 2015


http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=13876

--- Comment #1 from Jonathan Druart <jonathan.druart at biblibre.com> ---
Created attachment 37014
  -->
http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=37014&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 /tmp 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 /tmp

Retry with correct permissions and confirm the log will be created in
$logdir.

-- 
You are receiving this mail because:
You are watching all bug changes.


More information about the Koha-bugs mailing list