From d680213a7b9c7015c1c7c267eb54eb21234b2072 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Thomas=20Sj=C3=B6gren?= Date: Fri, 4 Oct 2019 14:50:48 +0200 Subject: [PATCH] fix /etc/sysconfig/docker MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit closes #397 Signed-off-by: Thomas Sjögren --- tests/3_docker_daemon_configuration_files.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/3_docker_daemon_configuration_files.sh b/tests/3_docker_daemon_configuration_files.sh index ec440bb..ddd3b32 100644 --- a/tests/3_docker_daemon_configuration_files.sh +++ b/tests/3_docker_daemon_configuration_files.sh @@ -610,12 +610,12 @@ check_3_20() { # 3.21 check_3_21() { id_3_21="3.21" - desc_3_21="Ensure that /etc/default/docker file permissions are set to 644 or more restrictive" + desc_3_21="Ensure that /etc/sysconfig/docker file permissions are set to 644 or more restrictive" check_3_21="$id_3_21 - $desc_3_21" starttestjson "$id_3_21" "$desc_3_21" totalChecks=$((totalChecks + 1)) - file="/etc/default/docker" + file="/etc/sysconfig/docker" if [ -f "$file" ]; then if [ "$(stat -c %a $file)" -eq 644 ] || [ "$(stat -c %a $file)" -eq 600 ]; then pass "$check_3_21"