DISA STIGS Viewer

The macOS system must secure users' home folders.

Overview

Finding ID Version Rule ID IA Controls Severity
V-268513 APPL-15-002068 SV-268513r1034479_rule   Medium
Description
The system must be configured to prevent access to other users' home folders. The default behavior of macOS is to allow all valid users access to the top level of every other user's home folder while restricting access only to the Apple default folders within. Satisfies: SRG-OS-000480-GPOS-00230, SRG-OS-000480-GPOS-00228
STIG Date
Apple macOS 15 (Sequoia) Security Technical Implementation Guide 2025-05-05

Details

Check Text (C-72543r1034477_chk)
Verify the macOS system is configured so that permissions are set correctly on user home directories with the following command:

/usr/bin/find /System/Volumes/Data/Users -mindepth 1 -maxdepth 1 -type d ! \( -perm 700 -o -perm 711 \) | /usr/bin/grep -v "Shared" | /usr/bin/grep -v "Guest" | /usr/bin/wc -l | /usr/bin/xargs

If the result is not "0", this is a finding.
Fix Text (F-72444r1034478_fix)
Configure the macOS system to set the appropriate permissions for each user on the system with the following command:

IFS=$'\n'
for userDirs in $( /usr/bin/find /System/Volumes/Data/Users -mindepth 1 -maxdepth 1 -type d ! \( -perm 700 -o -perm 711 \) | /usr/bin/grep -v "Shared" | /usr/bin/grep -v "Guest" ); do
/bin/chmod og-rwx "$userDirs"
done
unset IFS