--- openssh-7.1p1/readconf.c 2015-10-27 02:35:24.382086863 +0300
+++ openssh-7.1p1/readconf.c 2015-10-27 02:35:49.376192862 +0300
@@ -1542,9 +1542,6 @@
if (fstat(fileno(f), &sb) == -1)
fatal("fstat %s: %s", filename, strerror(errno));
- if (((sb.st_uid != 0 && sb.st_uid != getuid()) ||
- (sb.st_mode & 022) != 0))
- fatal("Bad owner or permissions on %s", filename);
}
debug("Reading configuration data %.200s", filename);