3.4 Ensure Apache Directories and Files Are Owned By Root

Information

The Apache directories and files should be owned by root. This applies to all of the Apache software directories and files installed.

Rationale:

Restricting ownership of the Apache files and directories will reduce the probability of unauthorized modifications.

Solution

Perform the following:

Set ownership on the '$APACHE_PREFIX' directories such as '/usr/local/apache2':

$ chown -R root $APACHE_PREFIX

See Also

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

Item Details

Category: ACCESS CONTROL

References: 800-53|AC-3, CSCv6|5.1, CSCv7|14.6

Plugin: Unix

Control ID: 4955df21bcac38095439672a1ba7fd7adbb8fe806a20624ed41f5ea0d23492ff