Getting Permission denied error when attempting to open guest files via qemu guest agent commands.

Solution Verified - Updated -

Issue

  • Qemu Guest Agent guest-file command is failing with "Permission denied" on /tmp and /var/tmp.
  • After upgrading to 9.2, guest-file command to open a file is failing with Permission denied.

Environment

  • Red Hat Enterprise Linux 9.2 or higher

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