From e03abf0d1ae1188b83c80fcbfdf8d464fe480119 Mon Sep 17 00:00:00 2001 From: k-kurematsu <106578775+k-kurematsu@users.noreply.github.com> Date: Tue, 21 Jun 2022 17:58:12 +0900 Subject: Fix misleading error message As per the message, even if I deleted the write permission(chmod -007), but an error occurred. It's a source of confusion, so fix the message. --- svr-authpubkey.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/svr-authpubkey.c b/svr-authpubkey.c index 5c4ef4d..ab3046f 100644 --- a/svr-authpubkey.c +++ b/svr-authpubkey.c @@ -580,7 +580,7 @@ static int checkfileperm(char * filename) { if (badperm) { if (!ses.authstate.perm_warn) { ses.authstate.perm_warn = 1; - dropbear_log(LOG_INFO, "%s must be owned by user or root, and not writable by others", filename); + dropbear_log(LOG_INFO, "%s must be owned by user or root, and not writable by group or others", filename); } TRACE(("leave checkfileperm: failure perms/owner")) return DROPBEAR_FAILURE; -- cgit v1.2.1