Take ownership of the snakeoil

This commit is contained in:
Bob Mottram 2017-03-18 12:48:54 +00:00
parent 44344d507d
commit 0913425df4
1 changed files with 3 additions and 0 deletions

View File

@ -443,6 +443,9 @@ function lockdown_permissions {
if [ -d /usr/local/share/.cache/yarn ]; then if [ -d /usr/local/share/.cache/yarn ]; then
rm -rf /usr/local/share/.cache/yarn rm -rf /usr/local/share/.cache/yarn
fi 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 if [ -d /bin ]; then
chown root:root /bin/* chown root:root /bin/*
fi fi