# Setting the Talend Remote Engine directory permissions

## Before you begin

If you have already run artifact or tasks on the Remote Engine, you must pair your Talend Remote Engine anew with your Talend Cloud account to avoid unexpected authorizations on already deployed artifacts, tasks, or cached files. For instructions, see [Upgrading Talend Remote Engine](https://help.qlik.com/talend/r/en-US/Cloud/installation-guide-windows/upgrading-remote-engine).

## Procedure

1. Add each user allowed to run tasks (for example, user called subuser) to the 'root' group, as well as to the group of the user who owns the parent directories of Talend Remote Engine (for example, group of the user called my\_user).
   ### Example
   ```
   > sudo usermod -a -G myuser_group subuser
   > sudo usermod -a -G root subuser
   ```
2. Give the execute permission to myuser\_group in the following directories by executing chmod g+rx /&lt;directory\_path&gt;.
   ### Example
   ```
   /DIRECTORY_1
   /DIRECTORY_1/DIRECTORY_2
   /DIRECTORY_1/DIRECTORY_2/TalendRemoteEngine
   /DIRECTORY_1/DIRECTORY_2/TalendRemoteEngine/TalendJobServersFiles
   /DIRECTORY_1/DIRECTORY_2/TalendRemoteEngine/TalendJobServersFiles/cache
   /DIRECTORY_1/DIRECTORY_2/TalendRemoteEngine/TalendJobServersFiles/cache/lib
   ```

   Information noteNote: The READ authorization for the group is only required for deployed files.