Changing /tmp directory for CLI tools

You must change the /tmp directory to a different directory for security purposes of the CLI tools.

For CLI operations, you must update the configurations at the environment level. Before triggering the CLI command, you must update the following configurations.

Java tempdir configuration

export OZONE_OPTS="-Djava.io.tmpdir=<path> $OZONE_OPTS"