Commands failed with permission denied when McAfee agent is running

Solution Verified - Updated -

Issue

  • Getting permission denied while executing command on file
# cksum 36022dc9-2112-4437-9f2a-a854e52f197d 
cksum: 36022dc9-2112-4437-9f2a-a854e52f197d: Permission denied

or when starting a KVM-based virtual machine

"Error starting domain: cannot open file '/var/lib/libvirt/images/VMName.img': Operation not permitted".

Environment

  • RHEL

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