fix: Set salt home directory permissions

Closes #211
This commit is contained in:
Carlos Álvaro
2023-09-14 22:28:17 +02:00
committed by Carlos D. Álvaro
parent 1fd232ffc0
commit 8f55384986
4 changed files with 14 additions and 1 deletions

View File

@@ -46,3 +46,8 @@ ok "salt-minion started"
salt "${TEST_MINION_ID}" test.ping || error "${TEST_MINION_ID} ping"
ok "${TEST_MINION_ID} ping"
# Test salt home permissions
# shellcheck disable=SC2016
docker-exec bash -c 'test $(stat -c "%U:%G" "${SALT_HOME}") = "${SALT_USER}:${SALT_USER}"' || error "salt home permissions"
ok "salt home permissions"