Bugzilla – Attachment 1818 Details for
Bug 1740
Misleading error message in ssh-keygen
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
patch solving the problem
openssh-5.4p1-staterr.patch (text/plain), 729 bytes, created by
jchadima
on 2010-03-24 22:05:45 AEDT
(
hide
)
Description:
patch solving the problem
Filename:
MIME Type:
Creator:
jchadima
Created:
2010-03-24 22:05:45 AEDT
Size:
729 bytes
patch
obsolete
>diff -up openssh-5.4p1/ssh-keygen.c.staterr openssh-5.4p1/ssh-keygen.c >--- openssh-5.4p1/ssh-keygen.c.staterr 2010-03-19 20:56:12.000000000 +0100 >+++ openssh-5.4p1/ssh-keygen.c 2010-03-19 20:59:41.000000000 +0100 >@@ -1829,7 +1829,9 @@ main(int argc, char **argv) > snprintf(dotsshdir, sizeof dotsshdir, "%s/%s", pw->pw_dir, _PATH_SSH_USER_DIR); > if (strstr(identity_file, dotsshdir) != NULL && > stat(dotsshdir, &st) < 0) { >- if (mkdir(dotsshdir, 0700) < 0) >+ if (errno == EPERM) >+ error("Do not have permisions to stat directory '%s'.", dotsshdir); >+ else if (mkdir(dotsshdir, 0700) < 0) > error("Could not create directory '%s'.", dotsshdir); > else if (!quiet) > printf("Created directory '%s'.\n", dotsshdir);
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 1740
: 1818 |
1842