Bruno Haible via GNU coreutils General Discussion <[email protected]>
writes:
> This test program
> -----------------------------------------------------
> #include <errno.h>
> #include <stdio.h>
>
> int main ()
> {
> errno = EPERM;
> perror ("");
> }
> -----------------------------------------------------
>
> prints
> Not owner
> on my Solaris 11.4 VM, but prints
> Insufficient privileges
> on cfarm215.cfarm.net. So, apparently they changed the error string
> for EPERM at some time after the original Solaris 11.4 was released.
Interesting. Nice catch.
I wonder why they choose to make that change. I feel like EPERM covers
more than just ownership.
It should be easy to work around regardless.
Collin