STIGUI
V-216180CAT II — Medium severitySV-216180r959010_rule

The sticky bit must be set on all world writable directories.

Rule version SOL-11.1-070010 · STIG v3 · 2026-08-19

Discussion

Files in directories that have had the "sticky bit" enabled can only be deleted by users that have both write permissions for the directory in which the file resides, as well as ownership of the file or directory, or have sufficient privileges. As this prevents users from overwriting each others' files, whether it be accidental or malicious, it is generally appropriate for most world-writable directories (e.g., /tmp).

Check

The root role is required.

Identify all world-writable directories without the "sticky bit" set.

# find / \( -fstype nfs -o -fstype cachefs -o -fstype autofs \ -o -fstype ctfs -o -fstype mntfs -o -fstype objfs \ -o -fstype proc \) -prune -o -type d \( -perm -0002 \ -a ! -perm -1000 \) -ls

Output of this command identifies world-writable directories without the "sticky bit" set. If output is created, this is a finding.

Fix

The root role is required.

Ensure that the "sticky bit" is set on any directories identified during the check steps.

# chmod +t [directory name]

Identifiers

Group ID
V-216180
Group title
SRG-OS-000480
Rule ID
SV-216180r959010_rule
Check ID
C-17418r372922_chk
Fix ID
F-17416r372923_fix