CA Remote Engineer failing to collect files

Document ID : KB000100569
Last Modified Date : 08/06/2018
Show Technical Document Details
We have tried to run "CA Remote Engineer" tool in order to collect all the files involved in the upgrade process, but it failed. 

We have seen that the linux server does not allow binary execution on /tmp (i.e. mounted with "noexec", which is an internal standard) where the tool auto-extracts itself and thus the tool does not collect anything. Exit code is always "0" due to the script "" content...
Is there a way (since it seems to be not documented) to specify a different folder than /tmp? 
12.52 SP1 CR8 
The reference to /tmp is hard coded
You can work around it by setting an environment variable to force it to write files in a specific directory instead of default /tmp 

# mkdir /root/tmp 
# export TMPDIR=/root/tmp && ./ 

Then the files will be written in /root/tmp