Setting the server directory permissions - 6.5

Talend Data Integration Installation Guide for Linux

EnrichVersion
6.5
EnrichProdName
Talend Data Integration
task
Installation and Upgrade
EnrichPlatform
Talend Activity Monitoring Console
Talend Administration Center
Talend Artifact Repository
Talend CommandLine
Talend Data Preparation
Talend Data Stewardship
Talend Identity and Access Management
Talend Installer
Talend JobServer
Talend Log Server
Talend Runtime
Talend Studio

Before you begin

If you have already started Jobs from this server, it is recommended to remove the directory <jobserver_path>/TalendJobServerFiles to avoid unexpected authorizations on already deployed Jobs or cached files.

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 JobServer (for example, group of the user called myuser), such as:
    > sudo usermod -a -G myuser_group subuser
    > sudo usermod -a -G root subuser
  2. Give the permissions execute to myuser_group in the following directories by executing the command chmod g+rx /<directory_path>:
    /DIRECTORY_1
    /DIRECTORY_1/DIRECTORY_2
    /DIRECTORY_1/DIRECTORY_2/Talend-JobServer
    /DIRECTORY_1/DIRECTORY_2/Talend-JobServer/cache
    /DIRECTORY_1/DIRECTORY_2/Talend-JobServer/cache/lib
    /DIRECTORY_1/DIRECTORY_2/Talend-JobServer/repository
    Note that the read authorization for the group is only required for deployed files.