diff --git a/usr.sbin/acme-client/parse.y b/usr.sbin/acme-client/parse.y index fa87dd7..0c02db9 100644 --- a/usr.sbin/acme-client/parse.y +++ b/usr.sbin/acme-client/parse.y @@ -1129,8 +1129,8 @@ conf_check_file(char *s) warn("cannot stat %s", s); return 0; } - if (st.st_mode & (S_IRWXG | S_IRWXO)) { - warnx("%s: group read/writable or world read/writable", s); + if (st.st_mode & S_IRWXO) { + warnx("%s: world read/writable", s); return 0; } return 1;