The sticky bit must be set on all public directories.

From MAC OSX 10.6 Workstation Security Technical Implementation Guide

Part of GEN002500

Associated with IA controls: ECCD-2, ECCD-1

Associated with: CCI-000366

SV-37991r1_rule The sticky bit must be set on all public directories.

Vulnerability discussion

Failing to set the sticky bit on the public directories allows unauthorized users to delete files in the directory structure.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.

Check content

Enter the following command to search public directories. find / -type d -perm -002 -exec ls -ld {} \; Review the results. If any public directories do not have the sticky bit set, this is a finding.

Fix text

Open a terminal session and enter the following command to set the sticky bit on all public directories. chmod 1777

Pro Tips

Lavender hyperlinks in small type off to the right (of CSS class id, if you view the page source) point to globally unique URIs for each document and item. Copy the link location and paste anywhere you need to talk unambiguously about these things.

You can obtain data about documents and items in other formats. Simply provide an HTTP header Accept: text/turtle or Accept: application/rdf+xml.

Powered by sagemincer