Problem:
It is not possible to execute /var/tmp/foreman-ssh-cmdXXX, due to restrictions on /var/tmp (e.g. noexec). Define another remote working directory.
Expected outcome:
Execute foreman-ssh-cmdXXX in user defined directory
Foreman and Proxy versions:
2.5.2
Foreman and Proxy plugin versions:
2.5.2
Distribution and version:
Other relevant data:
I’ve seen /var/tmp hardcoded in /opt/theforeman/tfm/root/usr/share/gems/gems/foreman_remote_execution_core-1.4.8/lib/foreman_remote_execution_core.rb and /opt/theforeman/tfm/root/usr/share/gems/gems/smart_proxy_remote_execution_ssh-0.3.2/lib/smart_proxy_remote_execution_ssh/plugin.rb; thus do not know which side-affects would it made if those would be changed another value.