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