mirror of
https://github.com/clearml/dropbear
synced 2025-02-07 13:21:15 +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 (badperm) {
|
||||||
if (!ses.authstate.perm_warn) {
|
if (!ses.authstate.perm_warn) {
|
||||||
ses.authstate.perm_warn = 1;
|
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"))
|
TRACE(("leave checkfileperm: failure perms/owner"))
|
||||||
return DROPBEAR_FAILURE;
|
return DROPBEAR_FAILURE;
|
||||||
|
Loading…
Reference in New Issue
Block a user