From f091b764b51273933dc95012f28aaf848af658a5 Mon Sep 17 00:00:00 2001
From: Dan Winship <danw@gnome.org>
Date: Mon, 17 Mar 2014 12:58:12 -0400
Subject: [PATCH] ifcfg-rh: improve error message when ifcfg file can't be read
(rh #1070617)
---
src/settings/plugins/ifcfg-rh/reader.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/settings/plugins/ifcfg-rh/reader.c b/src/settings/plugins/ifcfg-rh/reader.c
index c1fd181..2e0cb65 100644
--- a/src/settings/plugins/ifcfg-rh/reader.c
+++ b/src/settings/plugins/ifcfg-rh/reader.c
@@ -4985,7 +4985,7 @@ connection_from_file (const char *filename,
parsed = svNewFile (filename);
if (!parsed) {
g_set_error (error, IFCFG_PLUGIN_ERROR, 0,
- "Couldn't parse file '%s'", filename);
+ "File '%s' exists but could not be read. (Permissions error?)", filename);
return NULL;
}
--
1.8.5.3