podman error - Write to uid_map failed: Operation not permitted

Solution Verified - Updated -

Issue

  • Below errors seen with podman system info

    ERRO [0000] running /usr/bin/newuidmap XXXX 0 XXXX 1 1 XXXXXX 65536: newuidmap : write to uid_map failed: Operation not permitted
    Error: cannot set up namespace using "/usr/bin/newuidmap": should have setuid or have filecaps setuid: exit status 1
    

Environment

  • RHEL 8
  • podman-4.2.X

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