Adding a repository fails with "Permission denied" error in RHUI3

Solution Verified - Updated -

Issue

Adding a repository fails with "Permission denied" error in RHUI3

Feb 15 16:35:20 rhua pulp: pulp.server.controllers.repository:ERROR: (2887-30080) Exception adding importer to repo [rhel-7-server-rhui-rpms-7Server-x86_64]; the repo will be deleted
Feb 15 16:35:20 rhua pulp: pulp.server.controllers.repository:ERROR: (2887-30080) Traceback (most recent call last):
<snip>
Feb 15 16:35:20 rhua pulp: pulp.server.controllers.repository:ERROR: (2887-30080)   File "/usr/lib64/python2.7/os.py", line 150, in makedirs
Feb 15 16:35:20 rhua pulp: pulp.server.controllers.repository:ERROR: (2887-30080)     makedirs(head, mode)
Feb 15 16:35:20 rhua pulp: pulp.server.controllers.repository:ERROR: (2887-30080)   File "/usr/lib64/python2.7/os.py", line 157, in makedirs
Feb 15 16:35:20 rhua pulp: pulp.server.controllers.repository:ERROR: (2887-30080)     mkdir(name, mode)
Feb 15 16:35:20 rhua pulp: pulp.server.controllers.repository:ERROR: (2887-30080) OSError: [Errno 13] Permission denied: '/var/lib/pulp/importers'

Environment

Red Hat Update Infrastructure 3

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