3.6 Ensure that /etc/docker directory permissions are set to 755 or more restrictively

Warning! Audit Deprecated

This audit has been deprecated and will be removed in a future update.

View Next Audit Version

Information

You should verify that the /etc/docker directory permissions are correctly set to 755 or more restrictively.

Rationale:

The /etc/docker directory contains certificates and keys in addition to various sensitive files. It should therefore only be writeable by root to ensure that it can not be modified by a less privileged user.

Impact:

None.

Solution

You should run the following command:

chmod 755 /etc/docker

This sets the permissions for the directory to 755.

Default Value:

By default, the permissions for this directory are set to 755.

See Also

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