[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 Mar 20 16:26:51 CET 2015


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

M. de Rooy <m.de.rooy at rijksmuseum.nl> changed:

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

--- Comment #7 from M. de Rooy <m.de.rooy at rijksmuseum.nl> ---
Created attachment 37052
  -->
http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=37052&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.

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


More information about the Koha-bugs mailing list