While removing /etc/rhsm/ca/* files giving error "Operation not permitted".

Solution Verified - Updated -

Issue

  • When executing the below command to remove /etc/rhsm/ca/* files get the below error.

    # mv /etc/rhsm/ca/*.pem /tmp 
    mv: overwrite â/tmp/katello-default-ca.pemâ? yes 
    mv: cannot remove â/etc/rhsm/ca/katello-default-ca.pemâ: Operation not permitted
    mv: overwrite â/tmp/katello-server-ca.pemâ? yes 
    mv: cannot remove â/etc/rhsm/ca/katello-server-ca.pemâ: Operation not permitted
    mv: overwrite â/tmp/redhat-uep.pemâ? yes 
    mv: cannot remove â/etc/rhsm/ca/redhat-uep.pemâ: Operation not permitted
    

Environment

  • Red Hat Satellite 6.9
  • Red Hat Enterprise Linux 7.9

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