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.
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
Give the permissions execute to
myuser_group in the following directories by executing the
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/repositoryNote that the read authorization for the group is only required for deployed files.