From 259f58f9dfb0a35fc4508c39789985457810d713 Mon Sep 17 00:00:00 2001 From: Silvio Rhatto Date: Tue, 29 Nov 2016 16:09:53 -0200 Subject: Fixes ssl folder permissions at import-certs --- share/hydra/import-certs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'share') diff --git a/share/hydra/import-certs b/share/hydra/import-certs index 0349986..8f77594 100755 --- a/share/hydra/import-certs +++ b/share/hydra/import-certs @@ -50,8 +50,8 @@ for node in $NODES; do sudo mkdir -p /etc/ssl/certs sudo chown root.ssl-cert /etc/ssl/private sudo chown root.ssl-cert /etc/ssl/certs - sudo chmod 644 /etc/ssl/private - sudo chmod 644 /etc/ssl/certs + sudo chmod 750 /etc/ssl/private + sudo chmod 755 /etc/ssl/certs EOF keyringer $HYDRA ls -1 ssl/ | grep crt | while read cert; do -- cgit v1.2.3