RHEL9: make command fails with "Permission denied", trying to execute a directory matching a binary name

Solution Verified - Updated -

Issue

  • With RHEL9, make <target> fails with a "Permission denied" error, e.g.

    $ make all
    make: install: Permission denied
    

Environment

  • Red Hat Enterprise Linux 9
    • make-4.3-7.el9

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