Browse Source

Take ownership of the snakeoil

Bob Mottram 8 years ago
parent
commit
0913425df4
1 changed files with 3 additions and 0 deletions
  1. 3
    0
      src/freedombone-utils-setup

+ 3
- 0
src/freedombone-utils-setup View File

@@ -443,6 +443,9 @@ function lockdown_permissions {
443 443
     if [ -d /usr/local/share/.cache/yarn ]; then
444 444
         rm -rf /usr/local/share/.cache/yarn
445 445
     fi
446
+    if [ -f /usr/lib/ssl/certs/ssl-cert-snakeoil.pem ]; then
447
+        chown root:root /usr/lib/ssl/certs/ssl-cert-snake*
448
+    fi
446 449
     if [ -d /bin ]; then
447 450
         chown root:root /bin/*
448 451
     fi