State Directory

The ifdh layer keeps a state directory for various bookkeeping and other tasks. It is usually
created under $TMPDIR/ifdh_uid_pgid, but can be specified with $IFDH_DATA_DIR; which is useful
for interactive shells that give each command their own process group id. (see #8884)

The state directory is used for:

  • storing a proxy certificate if ifdh generates one
  • storing files gotten with fetchInput
  • keeping an output file list for addOutput/renameOutput/copyBackOutput

The state directory is cleaned/removed up by ifdh cleanup