cat: /proc/$PID/stack: Permission denied by non-root user

Solution Verified - Updated -

Issue

o Permission denied when a normal user is trying to access /proc/$PID/stack contents.
o Normal user can not cat /proc/$pid/stack for processes started by it's own UID

Environment

o Red Hat Enterprise Linux 7.7 and later
o 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