]> git.draconx.ca Git - gentoo-draconx.git/blob - app-crypt/acme-client/files/acme-client-1.3.1-allow-group-permissions.patch
app-crypt/acme-client: New package.
[gentoo-draconx.git] / app-crypt / acme-client / files / acme-client-1.3.1-allow-group-permissions.patch
1 diff --git a/usr.sbin/acme-client/parse.y b/usr.sbin/acme-client/parse.y
2 index fa87dd7..0c02db9 100644
3 --- a/usr.sbin/acme-client/parse.y
4 +++ b/usr.sbin/acme-client/parse.y
5 @@ -1129,8 +1129,8 @@ conf_check_file(char *s)
6                 warn("cannot stat %s", s);
7                 return 0;
8         }
9 -       if (st.st_mode & (S_IRWXG | S_IRWXO)) {
10 -               warnx("%s: group read/writable or world read/writable", s);
11 +       if (st.st_mode & S_IRWXO) {
12 +               warnx("%s: world read/writable", s);
13                 return 0;
14         }
15         return 1;