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/3197

Item Details

Category: ACCESS CONTROL

References: 800-53|AC-6, CSCv7|14.6

Plugin: Unix

Control ID: f5b7f84902960fbc213a47f83dffda462d0cf9e90920e16298218035719ef064