3.5 Verify that /etc/docker directory ownership is set to root:root

Information

Verify that the /etc/docker directory ownership and group-ownership is correctly set to
'root'.'/etc/docker' directory contains certificates and keys in addition to various sensitive files.
Hence, it should be owned and group-owned by 'root' to maintain the integrity of the
directory.

Solution

chown root-root /etc/dockerThis would set the ownership and group-ownership for the directory to 'root'.Impact-None.Default Value-By default, the ownership and group-ownership for this directory is correctly set to 'root'.

See Also

https://workbench.cisecurity.org/files/517