From c96fb6209c178a4ffacfe248d0426dd457496094 Mon Sep 17 00:00:00 2001 From: Geert Janssens Date: Fri, 28 Sep 2018 22:15:56 +0200 Subject: [PATCH] Bug 795821 - GnuCash could not obtain the lock for file://C:\Users\username\Documents\GnuCash\2.6.21\xxxx\xxxx.gnucash --- gnucash/gnome-utils/gnc-file.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/gnucash/gnome-utils/gnc-file.c b/gnucash/gnome-utils/gnc-file.c index d9830611000..7162cd89d15 100644 --- a/gnucash/gnome-utils/gnc-file.c +++ b/gnucash/gnome-utils/gnc-file.c @@ -323,7 +323,8 @@ show_session_error (GtkWindow *parent, case ERR_BACKEND_READONLY: fmt = _("GnuCash could not write to %s. " "That database may be on a read-only file system, " - "or you may not have write permission for the directory."); + "you may not have write permission for the directory " + "or your anti-virus software is preventing this action."); gnc_error_dialog (parent, fmt, displayname); break; @@ -766,7 +767,8 @@ gnc_post_file_open (GtkWindow *parent, const char * filename, gboolean is_readon "in which case you should not open the database. " "What would you like to do?") : _("That database may be on a read-only file system, " - "or you may not have write permission for the directory. " + "you may not have write permission for the directory, " + "or your anti-virus software is preventing this action. " "If you proceed you may not be able to save any changes. " "What would you like to do?") );