Why Am I getting "mktemp: failed to create file via template ‘/etc/yum.repos.d/tower-tmpXXXXXX.repo’: Permission denied" while installing Ansible Tower ?

Solution Verified - Updated -

Issue

  • While running setup from outside the installer directory, an error is received:

    "mktemp: failed to create file via template ‘/etc/yum.repos.d/tower-tmpXXXXXX.repo’: Permission denied"
    

Environment

  • Ansible Tower

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