[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 Apr 16 16:54:55 CEST 2015


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

Chris Nighswonger <cnighswonger at foundations.edu> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
  Attachment #37094|0                           |1
        is obsolete|                            |

--- Comment #19 from Chris Nighswonger <cnighswonger at foundations.edu> ---
Created attachment 37966
  -->
http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=37966&action=edit
[SIGNED-OFF] 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>

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


More information about the Koha-bugs mailing list