Openscap job template running fails with error SCAP content is missing and download failed with error: Permission denied @ dir_s_mkdir - /var/lib/openscap/content for non-root user remote execution.

Solution Verified - Updated -

Issue

  • Trying to run openscap job template via remote execution for a non-root user but it is failing with error:


    1: File /var/lib/openscap/content/b7772a400xxxxxxxxxxxxxxxxxxxxxx519a979665f6e.xml is missing. Downloading it from proxy. 2: SCAP content is missing and download failed with error: Permission denied @ dir_s_mkdir - /var/lib/openscap/content 3: Exit status: 5

Environment

  • 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