Permalink
Browse files

Merge pull request #326 from konstruktoid/issu325

ref #325 daemon.json permissions
  • Loading branch information...
konstruktoid committed Sep 27, 2018
2 parents feced0f + 773625a commit bbf43c88e16655e4e537f66ae49163742843aaf5
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 bbf43c8

Please sign in to comment.