Remote Execution using non-root user fails with Error Unable to upload file to /var/tmp/foreman-ssh-cmd-46102cd9-c9b7-44c7-84d7-0f217278fe15/script on remote system: exit code: 126 in Red Hat Satellite 6

Solution Verified - Updated -


  • On Satellite server Remote Execution Job with non-root user for running command chmod fails with below Error

    1: Error initializing command: RuntimeError - Unable to upload file to /var/tmp/foreman-ssh-cmd-46102cd9-c9b7- 
    44c7-84d7-0f217278fe15/script on remote system: exit code: 126
    2: Exit status: EXCEPTION


  • Red Hat Satellite 6

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content