Skip to content

Any AlmaLinux OS 9 world-writable directories must be owned by root, sys, bin, or an application user.

An XCCDF Rule

Description

If a world-writable directory is not owned by root, sys, bin, or an application user identifier (UID), unauthorized users may be able to modify files created by others. The only authorized public directories are those temporary directories supplied with the system or those designed to be temporary file repositories. The setting is normally reserved for directories used by the system and by users for temporary file storage, (e.g., /tmp), and for directories requiring global read/write access.

ID
SV-269432r1050315_rule
Version
ALMA-09-042150
Severity
Medium
References
Updated

Remediation Templates

A Manual Procedure

Configure all public directories to be owned by root or a system account to prevent unauthorized and unintended information transferred via shared system resources.

Set the owner of all public directories as root or a system account using the command, replace "[Public Directory]" with any directory path not owned by root or a system account:

$ chown root [Public Directory]