summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatt Johnston <matt@ucc.asn.au>2022-06-21 17:18:06 +0800
committerGitHub <noreply@github.com>2022-06-21 17:18:06 +0800
commit808bc392a012d1cce6f35e2e4165cd34b5cc8623 (patch)
tree47342181d1265970b34f254b130b6c303ccb3bc4
parent544f28a05165eb97e18cc03fc8990da842ec3a94 (diff)
parente03abf0d1ae1188b83c80fcbfdf8d464fe480119 (diff)
downloaddropbear-808bc392a012d1cce6f35e2e4165cd34b5cc8623.tar.gz
Merge pull request #175 from k-kurematsu/fix_errmsg
Fix misleading error 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;