Permissions to access the file system

Depending on the functions performed by your program, the CICS® Transaction Gateway Java™ APIs might require access to the file system, for example to write trace files. The following permission gives permission for the CICS Transaction Gateway classes to access the file system on UNIX® and Linux® systems:
permission java.io.FilePermission "${user.home}${file.separator}ibm
${file.separator}ctg${file.separator}-","read,write,delete";
The format of the permission might vary depending on the installation, and you can specify alternative locations, or none at all. CICS Transaction Gateway classes require access to the file system in the following cases:

For example, on Windows®, you can specify the permission:

permission java.io.FilePermission "c:\trace\-", 
                                  "read,write,delete";

to allow access to the directory c:\trace and all subdirectories.

Or, for example, on UNIX and Linux systems, you can specify the permission:

permission java.io.FilePermission "/tmp/ibm/", 
                                  "read,write,delete";

to allow access to the directory /tmp/ibm and all subdirectories.