[Satellite 6.2]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.
1.  Error initializing command #
2.  RuntimeError Unable to create directory on remote system /root/foreman ssh-cmd-08b3a523-ff53-4169-bca8-63fb622dbeb7: exit code:
3. mkdir: cannot create directory ‘/root’: Permission denied
4. Exit status: EXCEPTION

Environment

  • Red Hat Satellite

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In
Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.