Subject: bug#12523: Solaris 10 "cp -p" returns unknown error on NFSv4 share, permissions preserve not work

From: "Ryba, Lukas" <[email-masked]>
Date: Thu, 4 Oct 2012 11:19:14 +0200

Hello,

i opened support case with the vendor. We have to sort out other possible issues(NFS server/client,configuration etc) but solaris libc is suspicious.
Workaround is simple. Just not use facl call right now. acl works ok.
I reproduced this error on Solaris 10 update 6 too, so it seems to be not update specific issue.

Regards

Lukas Ryba

-----Original Message-----
From: Paul Eggert [mailto:[email-masked]] 
Sent: Thursday, September 27, 2012 5:16 AM
To: Ryba, Lukas
Cc: [email-masked]
Subject: Re: bug#12523: Solaris 10 "cp -p" returns unknown error on NFSv4 share, permissions preserve not work

On 09/26/2012 05:16 AM, Ryba, Lukas wrote:
> facl(3, ACE_GETACL, 6, 0x1001472A0)             Err#-1

So, facl failed and set errno to -1?

Can you investigate why that might happen?  facl is not
supposed to do that.  facl is a system call, which means
the Solaris kernel's doing it.