add logic to change ownership of modified firefox cert stores on squid init

This commit is contained in:
ryan.kuba 2022-04-07 14:12:44 -07:00
parent 7574b91546
commit 0f2cdc74ef

View File

@ -40,6 +40,7 @@ do
certdir=$(dirname ${certDB});
echo "Updating $certdir"
certutil -A -n "${CERT_NAME}" -t "TCu,," -i ${CERT_FILE} -d sql:${certdir}
chown -R 1000:1000 ${certdir}
done
export MEMCACHE_PASSWORD="$(head /dev/urandom | tr -dc A-Za-z0-9 | head -c 13 )"