UCF STIG Viewer Logo
Changes are coming to https://stigviewer.com. Take our survey to help us understand your usage and how we can better serve you in the future.
Take Survey

All public directories must be owned by root or an application account.


Overview

Finding ID Version Rule ID IA Controls Severity
V-58427 AOSX-09-001110 SV-72857r1_rule Medium
Description
All public directories must be owned by root, the local admin user, or an application account. Directory owners have permission to delete any files contained in that directory, even if the files are owned by other user accounts. By setting the owner to an administrator or application account, regular users will not be permitted to delete each other's files.
STIG Date
Apple OS X 10.9 (Mavericks) Workstation Security Technical Implementation Guide 2017-01-05

Details

Check Text ( C-59253r1_chk )
To display all directories that are writable by all and not owned by root, run the following command:

sudo find / -type d -perm +o+w -not -uid 0

If anything is returned, and those directories are not owned by a local admin or application account, this is a finding.
Fix Text (F-63741r2_fix)
To change the ownership of any finding, run the following command:

sudo find / -type d -perm +o+w -not -uid 0 -exec chown root {} \;