Issue:
When trying to upgrade an existing RIP on Mac OS, installer may fail with the error message : Can't create directory /CALDERADATA/TMP :

Problem:
This issue happens if you've already tried to install V13, but without finishing installation; last step is migration from /CALDERADATA/TMP to /opt/caldera/var/tmp but didin't finish.
Solution:
Check/Edit the following four files (requires root, so if using nano as editor, enter sudo nano for example)
1) Change the temp folder path from /CALDERADATA/TMP to /opt/caldera/var/tmp
a) /opt/caldera/lib/calserver.cfg
When using nano as editor in Terminal, the complete syntax is:
sudo nano /opt/caldera/lib/calserver.cfg
TMPDIR path

b) /opt/caldera/lib/.CAS.config
When using nano as editor in Terminal, the complete syntax is:
sudo nano /opt/caldera/lib/.CAS.config
TMPDIR path

c) /var/db/calinst/CalderaSofts
When using nano as editor in Terminal, the complete syntax is:
sudo nano /var/db/calinst/CalderaSofts
WORKDIR path 
d) /Users/caldera/.cas/.CAS.config or Mac OS User if used to run Caldera /Users/MACUSER/.cas/.CAS.config
When using nano as editor in Terminal, the complete syntax is (caldera user):
sudo nano /Users/caldera/.cas/.CAS.config
TMPDIR path

e) Optionnal in some rare cases.
/opt/caldera/var/installed/CalderaSofts
When using nano as editor in Terminal, the complete syntax is:
sudo nano /opt/caldera/var/installed/CalderaSofts
WORKDIR path

2) Relaunch Caldera DMG installer.