System file permission repair: fixmog(ADM)
The fixmog command
attempts to correct inconsistencies found by
traverses the File Control database and compares each entry
to the real file in the filesystem. Each file is checked to ensure it
has the specified owner, group, access permissions and type.
fixmog changes the owner, group
and access permissions of files to match the File Control database.
You should always use the -i (interactive) option
to ensure that you can confirm any changes before they are made.