GEN002500 - The sticky bit must be set on all public directories.

Information

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.

Solution

Set the sticky bit on all public directories.

Procedure:
# chmod 1777 /tmp

(Replace /tmp with the public directory missing the sticky bit, if necessary.)

See Also

https://dl.dod.cyber.mil/wp-content/uploads/stigs/zip/U_SOL_10_x86_V2R4_STIG.zip

Item Details

Category: CONFIGURATION MANAGEMENT

References: 800-53|CM-6b., CAT|III, CCI|CCI-000366, Rule-ID|SV-227710r603266_rule, STIG-ID|GEN002500, STIG-Legacy|SV-806, STIG-Legacy|V-806, Vuln-ID|V-227710

Plugin: Unix

Control ID: f7689164c50f7f74b714e15fe5abc33f4c044e37da6e12707c22821d4b3c1295