The client connected to the Red Hat Satellite encounters an "Operation not permitted" error when attempting to execute a yum command.

Solution Verified - Updated -

Issue

  • The /etc/yum.repos.d folder and its files are experiencing "Permission denied" and "Operation not permitted" errors.
  • Modifying and deleting files and folders in the /etc/yum.repos.d location is currently not possible.
  • The /etc/yum.repos.d folder and its files are encountering permission denied and operation not permitted errors.

    # yum repolist
    Loaded plugins: enabled_repos_upload, package_upload, product-id, search-
              : disabled-repos, subscription-manager
    [Errno 13] Permission denied: '/etc/yum.repos.d/redhat.repo'
    repolist: 0
    

Environment

  • Red Hat Enterprise Linux 7
  • Red Hat Enterprise Linux 8

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