$RodHat_/search
exit code reference

Exit 77 EX_NOPERM

Permission denied.

Value
77
Convention
sysexits.h

The caller lacks permission for a reason that is not an ordinary file mode, for example a policy check. The errno-flavoured sibling is EACCES.

What to check

grep -n EX_NOPERM /usr/include/sysexits.h

Sources

  1. sysexits(3), FreeBSD manual

Exit codes are conventions, not guarantees: a program can return any value from 0 to 255. Spot one that's wrong? Tell Rod.