From 3283ed588393756af3309d0ab913f61445f125bc Mon Sep 17 00:00:00 2001 From: John Spray Date: Thu, 14 Dec 2017 11:41:02 +0000 Subject: [PATCH] mgr: fix "access denied" message As pointed out on https://github.com/ceph/ceph/pull/18716 Signed-off-by: John Spray --- src/mgr/DaemonServer.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/mgr/DaemonServer.cc b/src/mgr/DaemonServer.cc index d4c9416ddaf..d0f4bfc467e 100644 --- a/src/mgr/DaemonServer.cc +++ b/src/mgr/DaemonServer.cc @@ -726,7 +726,7 @@ bool DaemonServer::handle_command(MCommand *m) audit_clog->info() << "from='" << session->inst << "' " << "entity='" << session->entity_name << "' " << "cmd=" << m->cmd << ": access denied"; - ss << "access denied' does your client key have mgr caps? " + ss << "access denied: does your client key have mgr caps? " "See http://docs.ceph.com/docs/master/mgr/administrator/" "#client-authentication"; cmdctx->reply(-EACCES, ss); -- 2.39.5