Skip to content

Commit

Permalink
Merge pull request #326 from konstruktoid/issu325
Browse files Browse the repository at this point in the history
ref #325 daemon.json permissions
  • Loading branch information
konstruktoid committed Sep 27, 2018
2 parents feced0f + 773625a commit bbf43c8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/3_docker_daemon_configuration_files.sh
Expand Up @@ -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))
Expand Down

0 comments on commit bbf43c8

Please sign in to comment.