Running remote command via normal user, shows 'cannot create directory ‘/root’: Permission denied' error msg.

Solution Verified - Updated -

Issue

Multiple issues seen while running remote execution with normal user.

`Error initializing command #`
`RuntimeError Unable to create directory on remote system /root/foreman ssh-cmd-08b3a523-ff53-4169-bca8-63fb622dbeb7`
`mkdir: cannot create directory ‘/root’: Permission denied`
`Exit status: EXCEPTION`

Environment

  • Red Hat Satellite 6.x

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