From 408eb08222b4cf7bacb184f4b1483600a0a9b2bb Mon Sep 17 00:00:00 2001 From: Bob Mottram Date: Fri, 23 Jun 2017 21:33:07 +0100 Subject: [PATCH] letsencrypt permissions --- src/freedombone-utils-keys | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/freedombone-utils-keys b/src/freedombone-utils-keys index 58b8e274..6793a7bb 100755 --- a/src/freedombone-utils-keys +++ b/src/freedombone-utils-keys @@ -117,6 +117,8 @@ function interactive_gpg_from_usb { fi echo $'Recovering LetsEncrypt keys' cp -r $USB_MOUNT/letsencrypt/* /etc/letsencrypt + addgroup ssl-cert + chown -R root:ssl-cert /etc/letsencrypt fi if [ -f $USB_MOUNT/.mastergpgkey ]; then