From ca9655cd5e909fbda1e153074131db2b124985f4 Mon Sep 17 00:00:00 2001 From: Jarrod Johnson Date: Thu, 9 Jul 2020 11:46:06 -0400 Subject: [PATCH] Cover the more common use case With confluent running as non-root, it is now very much more likely that it is a directory permission issue. Since the root user is commonly asking a lesser privileged service to do the operation. --- confluent_server/confluent/firmwaremanager.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/confluent_server/confluent/firmwaremanager.py b/confluent_server/confluent/firmwaremanager.py index f3151615..626c0a38 100644 --- a/confluent_server/confluent/firmwaremanager.py +++ b/confluent_server/confluent/firmwaremanager.py @@ -39,7 +39,7 @@ def execupdate(handler, filename, updateobj, type, owner, node): if type != 'ffdc': errstr = False if not os.path.exists(filename): - errstr = '{0} does not appear to exist on {1}'.format( + errstr = '{0} does not appear to exist on {1}, or is in a directory with permissions forbidding confluent user/group access'.format( filename, socket.gethostname()) elif not os.access(filename, os.R_OK): errstr = '{0} is not readable by confluent on {1} (ensure confluent user or group can access file and parent directories)'.format(