1.1.21 Ensure all world-writable directories are group-owned.


The operating system must be configured so that all world-writable directories are group-owned by root, sys, bin, or an application group.


If a world-writable directory has the sticky bit set and is not group-owned by a privileged Group Identifier (GID), 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.

NOTE: Nessus has provided the target output to assist in reviewing the benchmark to ensure target compliance.


Referring to the list obtained in in the Audit above, change the group of the world-writable directories to root with the following command:

# chgrp root <directory>


This Benchmark recommendation maps to:

Red Hat Enterprise Linux 7 Security Technical Implementation Guide:

Version 2, Release: 3 Benchmark Date: 26 Apr 2019

Vul ID: V-72047

Rule ID: SV-86671r4_rule

STIG ID: RHEL-07-021030

Severity: CAT II

See Also


Item Details


References: 800-53|CM-6b.

Plugin: Unix

Control ID: 46b371a04a6e7abb7a2a9b9a742520d6d30fd63f1a319567aacf23f45bd245b5