-
Notifications
You must be signed in to change notification settings - Fork 1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
docker.service file permission is 640 but it is still giving a WARN notification #459
Comments
Hi @adespain, thanks for reporting this. You are correct, the script only checks for 644 and 0600 (https://github.com/docker/docker-bench-security/blob/master/tests/3_docker_daemon_configuration_files.sh#L50). I'll make it more flexible as soon as possible. |
Issue docker#459 raised that check_2 was only checking for 644 or 600 permissions, this now checks for anything less than or equal to 644. Signed-off-by: Niall T [email protected]
I am still getting the warning. This is what I run so maybe the image needs to be updated?
|
Ha ha, looks like someone needs to use a gps tracker on the signing keys 😆 |
Closing due to inactivity. |
My docker.service file permissions are more restrictive than 644, they are set to 640 and yet it still says WARN and says:
[WARN] 3.2 - Ensure that docker.service file permissions are set to 644 or more restrictive
The text was updated successfully, but these errors were encountered: