System Administration Guide
Chapter 5, Maintaining system security

System file permission repair: fixmog(ADM)

System file permission repair: fixmog(ADM)

The fixmog command attempts to correct inconsistencies found by integrity(ADM). integrity 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.


NOTE: The verify function of the Software Manager performs more elaborate checks and can fix broken symbolic links; see ``Verifying software'' in the SCO OpenServer Handbook for more information.