Permalink
Browse files

ref #325 daemon.json permissions

Signed-off-by: Thomas Sjögren <konstruktoid@users.noreply.github.com>
  • Loading branch information...
konstruktoid committed Sep 27, 2018
1 parent feced0f commit 773625a894896d7508a37b1f15a1ff2697438cef
Showing with 1 addition and 1 deletion.
  1. +1 −1 tests/3_docker_daemon_configuration_files.sh
@@ -457,7 +457,7 @@ check_3_18() {
totalChecks=$((totalChecks + 1))
file="/etc/docker/daemon.json"
if [ -f "$file" ]; then
if [ "$(stat -c %a $file)" -eq 644 -o "$(stat -c %a $file)" -eq 600 ]; then
if [ "$(stat -c %a $file)" -eq 644 -o "$(stat -c %a $file)" -eq 640 -o "$(stat -c %a $file)" -eq 600 ]; then
pass "$check_3_18"
logjson "3.18" "PASS"
currentScore=$((currentScore + 1))

0 comments on commit 773625a

Please sign in to comment.