How to Fix the "Cannot Create ... File" Error During TWS Installation on MacOS

Background:

The filesystem permissions are controlled by your machines operating system. One of their functions is to secure your files, preventing unauthorized access or undesired modifications to the system and to your personal data.

Some software on your computer may modify or override the permissions assigned by the operating system. Under certain circumstances, this prevents the TWS installer from accessing the folder where the application core files have to be created (/users/youruser/home/Applications). In such cases, the TWS installation usually displays the error "Cannot create ... file. Shall I try again?"

In this article we explain how to reset the filesystem permission of the "Applications" folder located under your user home folder in order to allow a smooth run of the TWS installation.

Procedure:

  1. On your keyboard, press ⌘CMD + ⇧Shift +H to open your home folder

    The CMD + Shift + H keyboard keys

  2. Select the folder "Applications" within your home folder and press ⌘CMD + I to open the Info panel

    The CMD + I keyboard keys

  3. At the bottom right of the panel, click on the padlock

    The padlock icon

  4. To unlock the permissions panel, enter your MacOS credentials and click OK

    The unlock permissions panel.

  5. In the line correspondent to "everyone", click on "No Access" and then select "Read & Write"

    The option to select read & write.

  6. Click on the icon bellow the permissions panel and select “Apply to enclosed items..."

    The apply to enclosed items menu

  7. Now run the TWS installer and click on Next> until you complete the installation

    The run installer menu

  8. Once the installation has completed successfully, repeat the previous steps from 1. to 5. setting back the permissions of “everyone” to “Read Only” to revert your changes to the initial status