From: Petr Menšík Date: Tue, 14 Jan 2025 12:55:10 +0000 (+0100) Subject: Add unbound members group access to control key X-Git-Tag: release-1.23.0rc1~54^2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=refs%2Fpull%2F1220%2Fhead;p=thirdparty%2Funbound.git Add unbound members group access to control key Recent openssl genrsa does not use umask for generated keys. There is no strong reason why every member of unbound group should be able read server key. But control key would be quite useful to be group readable and to allow control access to whole group. Allowing access to control by group membership, not via sudo. --- diff --git a/smallapp/unbound-control-setup.sh.in b/smallapp/unbound-control-setup.sh.in index 4a358f6bd..c2a79a242 100644 --- a/smallapp/unbound-control-setup.sh.in +++ b/smallapp/unbound-control-setup.sh.in @@ -204,7 +204,8 @@ fi # remove unused permissions chmod o-rw \ "$SVR_BASE.pem" \ - "$SVR_BASE.key" \ + "$SVR_BASE.key" +chmod g+r,o-rw \ "$CTL_BASE.pem" \ "$CTL_BASE.key"