coreutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: coreutils-9.9.258-49420 on Solaris 11


From: Collin Funk
Subject: Re: coreutils-9.9.258-49420 on Solaris 11
Date: Fri, 23 Jan 2026 09:57:28 -0800
User-agent: Gnus/5.13 (Gnus v5.13)

Bruno Haible via GNU coreutils General Discussion <coreutils@gnu.org>
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



reply via email to

[Prev in Thread] Current Thread [Next in Thread]