From 0913425df4f18c57dfdc97c06b7509acb9106ba9 Mon Sep 17 00:00:00 2001
From: Bob Mottram <bob@robotics.uk.to>
Date: Sat, 18 Mar 2017 12:48:54 +0000
Subject: [PATCH] Take ownership of the snakeoil

---
 src/freedombone-utils-setup | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/src/freedombone-utils-setup b/src/freedombone-utils-setup
index 1aa1a4364..3f04ddef3 100755
--- a/src/freedombone-utils-setup
+++ b/src/freedombone-utils-setup
@@ -443,6 +443,9 @@ function lockdown_permissions {
     if [ -d /usr/local/share/.cache/yarn ]; then
         rm -rf /usr/local/share/.cache/yarn
     fi
+    if [ -f /usr/lib/ssl/certs/ssl-cert-snakeoil.pem ]; then
+        chown root:root /usr/lib/ssl/certs/ssl-cert-snake*
+    fi
     if [ -d /bin ]; then
         chown root:root /bin/*
     fi
-- 
GitLab