prevent openssh from checking config file permissions
Android features filesystems with a variety of insane and wonderful default permissions, such as ----rwxr-x
This commit is contained in:
parent
4a2854d6fb
commit
41e6c1de9a
1 changed files with 13 additions and 0 deletions
|
@ -85,6 +85,19 @@ index b7b9d91..3c10b11 100644
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
diff --git a/readconf.c b/readconf.c
|
||||||
|
index 097bb05..dcbc008 100644
|
||||||
|
--- a/readconf.c
|
||||||
|
+++ b/readconf.c
|
||||||
|
@@ -1085,7 +1085,7 @@ read_config_file(const char *filename, const char *host, Options *options,
|
||||||
|
if ((f = fopen(filename, "r")) == NULL)
|
||||||
|
return 0;
|
||||||
|
|
||||||
|
- if (checkperm) {
|
||||||
|
+ if (checkperm && 0) {
|
||||||
|
struct stat sb;
|
||||||
|
|
||||||
|
if (fstat(fileno(f), &sb) == -1)
|
||||||
diff --git a/ssh-add.c b/ssh-add.c
|
diff --git a/ssh-add.c b/ssh-add.c
|
||||||
index 738644d..f6fce4a 100644
|
index 738644d..f6fce4a 100644
|
||||||
--- a/ssh-add.c
|
--- a/ssh-add.c
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue