xfs
[Top] [All Lists]

Re: errno return for setting acls

To: Ethan Benson <erbenson@xxxxxxxxxx>
Subject: Re: errno return for setting acls
From: Timothy Shimmin <tes@xxxxxxxxxxxxxxxxxxxxxxx>
Date: Tue, 7 May 2002 14:33:22 +1000
Cc: linux-xfs@xxxxxxxxxxx
In-reply-to: <20020501045522.T21791@plato.local.lan>; from erbenson@alaska.net on Wed, May 01, 2002 at 04:55:22AM -0800
References: <20020501045522.T21791@plato.local.lan>
Sender: owner-linux-xfs@xxxxxxxxxxx
Hi Ethan,

On Wed, May 01, 2002 at 04:55:22AM -0800, Ethan Benson wrote:
> 
> XFS seems to return EACCES instead of EPERM when a user tries to
> set/alter an acl on a file they don't own.  from looking at the
> withdrawn posix spec i believe it should be EPERM, and that is more
> consistent with the equivilent; chmod.
> 
Looking at the 1003.1e std. sections 23.4.8.4, 23.4.22.4, ...
I would agree with you that EPERM should be returned ih this case.
I'll check in the change shortly.
Thanks for pointing this out.

Cheers,
Tim.


<Prev in Thread] Current Thread [Next in Thread>