summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authork-kurematsu <106578775+k-kurematsu@users.noreply.github.com>2022-06-21 17:58:12 +0900
committerGitHub <noreply@github.com>2022-06-21 17:58:12 +0900
commite03abf0d1ae1188b83c80fcbfdf8d464fe480119 (patch)
tree47342181d1265970b34f254b130b6c303ccb3bc4
parent544f28a05165eb97e18cc03fc8990da842ec3a94 (diff)
downloaddropbear-e03abf0d1ae1188b83c80fcbfdf8d464fe480119.tar.gz
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.
-rw-r--r--svr-authpubkey.c2
1 files changed, 1 insertions, 1 deletions
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;