mirror of
https://github.com/clearml/dropbear
synced 2025-02-07 05:17:28 +00:00
Merge pull request #175 from k-kurematsu/fix_errmsg
Fix misleading error message
This commit is contained in:
commit
808bc392a0
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user