1. Home
  2. Security Hardening
  3. CIS MySQL 5.7 Enterprise Linux OS L1 V1.0.0
  4. Ensure ‘log_error’ Has Appropriate Permissions and Ownership

Ensure ‘log_error’ Has Appropriate Permissions and Ownership

Details

Limiting the accessibility of these objects will protect the confidentiality, integrity, and availability of the MySQL logs.

Solution

Execute the following command for each log file location requiring corrected permissions and ownership: chmod 660 chown mysql:mysql Impact: Changing the permissions of the log files might impact monitoring tools which use a logfile adapter.

Supportive Information

The following resource is also helpful.

This control applies to the following type of system Unix.

Source

Updated on July 16, 2022
Was this article helpful?

Related Articles