diff options
author | CoprDistGit <infra@openeuler.org> | 2024-08-01 14:06:58 +0000 |
---|---|---|
committer | CoprDistGit <infra@openeuler.org> | 2024-08-01 14:06:58 +0000 |
commit | fa0594f4021dbf53966e167cf44c1bb84df5bb23 (patch) | |
tree | 3c991fcabf18a0e314a10edf337db266e504af11 /freeradius-bootstrap-make-permissions.patch | |
parent | 72d830c7e64b038eb96c0f36e0c1a0ab225238e3 (diff) |
automatic import of freeradiusopeneuler24.03_LTS
Diffstat (limited to 'freeradius-bootstrap-make-permissions.patch')
-rw-r--r-- | freeradius-bootstrap-make-permissions.patch | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/freeradius-bootstrap-make-permissions.patch b/freeradius-bootstrap-make-permissions.patch new file mode 100644 index 0000000..3548fa6 --- /dev/null +++ b/freeradius-bootstrap-make-permissions.patch @@ -0,0 +1,29 @@ +From ea164ceafa05f96079204a3f0ae379e46e64a455 Mon Sep 17 00:00:00 2001 +From: Alexander Scheel <ascheel@redhat.com> +Date: Tue, 4 Aug 2020 10:08:15 -0400 +Subject: [PATCH] Fix permissions after generating certificates with make + +Signed-off-by: Alexander Scheel <ascheel@redhat.com> +--- + raddb/certs/bootstrap | 5 ++++- + 1 file changed, 4 insertions(+), 1 deletion(-) + +diff --git a/raddb/certs/bootstrap b/raddb/certs/bootstrap +index 336a2bd..9920ecf 100755 +--- a/raddb/certs/bootstrap ++++ b/raddb/certs/bootstrap +@@ -21,7 +21,10 @@ make -h > /dev/null 2>&1 + # + if [ "$?" = "0" ]; then + make all +- exit $? ++ ret=$? ++ chown root:radiusd dh ca.* client.* server.* ++ chmod 640 dh ca.* client.* server.* ++ exit $ret + fi + + # +-- +2.26.2 + |