Previous Topic: Implementing GACNext Topic: Starting GAC


Setting Up GAC Rules

Note: File rules in the database are created using the class FILE parameter and file masks. Rules apply to all files matching the file masks. FILE access types include: all, chdir, control, create, delete, execute, none, read, rename, sec, update, utime, write.

From the file rules defined in the database, choose the file masks that you want to cache. Enter a list of file masks into the ACInstallDir/etc/GAC.init file (where ACInstallDir is the installation directory for CA ControlMinder, by default /opt/CA/AccessControl), in exactly the same form as they appear in the database.

Each such mask should be specified on a separate line. For example, if the database contains a file mask for /tmp/mydir/* and you want it to be cached, add the following line to the ACInstallDir/etc/GAC.init file:

/tmp/mydir/*

Note: Specific file names cannot be specified in the GAC.init file. Only file masks are used.