9.5 Verify System File Permissions

Information

The pkg verify and command checks the accuracy of installed directory structures and
files.

Rationale:

It is important to ensure that system files and directories are maintained with the
permissions they were intended to have from the OS vendor (Oracle).

Solution

Correct or justify any items discovered in the Audit step. Perform the following to set
correct any identified package errors:

# pkg fix

Exercise caution in running this command as it may reverse modifications implemented
previously including some of those recommended by this document. Rather than use this
command broadly, it is recommended that it be used more tactically to correct specific
package problems when possible.

See Also

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