summaryrefslogtreecommitdiff
path: root/share
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2016-11-29 16:09:53 -0200
committerSilvio Rhatto <rhatto@riseup.net>2016-11-29 16:09:53 -0200
commit259f58f9dfb0a35fc4508c39789985457810d713 (patch)
tree82d1f7aef67f0da874f302cc57fd8b55fa0c3ad8 /share
parent3117e7f69e12ae70332c24a3f3a9d8944be4921e (diff)
downloadhydra-259f58f9dfb0a35fc4508c39789985457810d713.tar.gz
hydra-259f58f9dfb0a35fc4508c39789985457810d713.tar.bz2
Fixes ssl folder permissions at import-certs
Diffstat (limited to 'share')
-rwxr-xr-xshare/hydra/import-certs4
1 files changed, 2 insertions, 2 deletions
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