5.1.4 Check Library folder for world writable files

Information

Software sometimes insists on being installed in the /Library Directory and have inappropriate world writable permissions.

Rationale:

Folders in /Library should not be world writable. The audit check excludes the /Library/Caches folder where the sticky bit is set.

Solution

Run the following command to set permissions so that folders are not world writable in the /Library folder:

$ sudo chmod -R o-w /Library/<baddirectory>

example:

$ sudo chmod -R o-w /Library/baddir

See Also

https://workbench.cisecurity.org/files/3013

Item Details

Category: ACCESS CONTROL

References: 800-53|AC-6

Plugin: Unix

Control ID: 37309e270c749d376bea55d6f69bc74b939f0e6bd108738eee6a8e526fc81cd5