Why I am seeing operation not permitted (EPERM) while trying to access file with wrong permissions.

Solution In Progress - Updated -

Issue

I am having file which is located on NFS server. While having a wrong permission set and I try to read from the file. The error status returned is Operation not permitted [EPERM]. The error opposes to the POSIX standard as the expected error raised Permission denied [EACCES].

Environment

  • Red Hat Enterprise Linux 6
  • Red Hat Enterprise Linux 7
  • Red Hat Enterprise Linux 8
  • NetApp 8.x OnTAP
  • cDot 9.5 P7

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