| Index: src/scripts/mod_for_test_scripts/710enableAuthTesting
|
| diff --git a/src/scripts/mod_for_test_scripts/710enableAuthTesting b/src/scripts/mod_for_test_scripts/710enableAuthTesting
|
| index edf869f225ae79ee56ee0a8b9ef30867410766ce..fb00cff18135e0c0bc901837eca399b6f113a2b5 100755
|
| --- a/src/scripts/mod_for_test_scripts/710enableAuthTesting
|
| +++ b/src/scripts/mod_for_test_scripts/710enableAuthTesting
|
| @@ -15,5 +15,7 @@ cat "${CERT_DIR}/${CERT_NAME}.key" > "${ROOT_FS_DIR}/etc/${CERT_NAME}.key"
|
| # Sadly, our fake cert HAS to be first in this file.
|
| TMPFILE=$(mktemp)
|
| CERT_FILE="${ROOT_FS_DIR}/etc/login_trust_root.pem"
|
| +PERMS=$(stat --printf="%a" "${CERT_FILE}")
|
| cat "${CERT_DIR}/${CERT_NAME}.pem" "${CERT_FILE}" > "${TMPFILE}"
|
| mv -f "${TMPFILE}" "${CERT_FILE}"
|
| +chmod "${PERMS}" "${CERT_FILE}"
|
|
|