Why I am seeing operation not permitted (EPERM) while trying to access file with wrong permissions.
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.