File Manipulation Routines



This section contains routines that enable users to handle directories and files.

 

Starting with SIL Engine 5.8.0.0 we limit the directories you have access to. By default you will have unrestricted access to the following directories:

  • sil.home (usually set on silprograms)

  • kepler.home (usually set on kepler)

  • <JIRA_HOME>/tmp

  • <JIRA_HOME>/log

  • <JIRA_HOME>/export

  • <JIRA_HOME>/import

  • <JIRA_HOME>/data

  • The directory announced by java.io.tmpdirvariable

  • The user home directory, if the user under which Jira runs has a home directory

Extra directories may be specified defining sil.allowed.dirs property. The Java process must be launched with -Dsil.allowed.dirs=<path1>:<path2> ('nix systems) or -Dsil.allowed.dirs=<path1>;<path2> (Windows). Attempting to access files outside designated directories will result in error.

Routines summary