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: 08defecbd9e14851411922da296d0b6609ea5610d68e6d9b0bd98cf8228495b2