@@ -, +, @@ about.pl --- about.pl | 8 ++++++++ koha-tmpl/intranet-tmpl/prog/en/modules/about.tt | 7 +++++++ 2 files changed, 15 insertions(+) --- a/about.pl +++ a/about.pl @@ -214,6 +214,14 @@ if ( ! defined C4::Context->config('lockdir') ) { error => 'lockdir_entry_missing' } } +else { + unless ( -w C4::Context->config('lockdir') ) { + push @xml_config_warnings, { + error => 'lockdir_not_writable', + lockdir => C4::Context->config('lockdir') + } + } +} if ( ! defined C4::Context->config('upload_path') ) { if ( Koha::Config::SysPrefs->find('OPACBaseURL')->value ) { --- a/koha-tmpl/intranet-tmpl/prog/en/modules/about.tt +++ a/koha-tmpl/intranet-tmpl/prog/en/modules/about.tt @@ -366,6 +366,13 @@ add it, pointing to your Koha instance's lock dir. + [% ELSIF config_entry.error == 'lockdir_not_writable' %] + + Warning + The configured <lockdir> entry in your koha-conf.xml file points to a + non-writable directory ([% config_entry.lockdir | html %]). + + [% ELSIF config_entry.error == 'uploadpath_entry_missing' %] Warning --