xfs
[Top] [All Lists]

Re: getfacl reports unknown error 524 on xfs partition

To: linux-xfs@xxxxxxxxxxx
Subject: Re: getfacl reports unknown error 524 on xfs partition
From: Ethan Benson <erbenson@xxxxxxxxxx>
Date: Fri, 10 May 2002 01:21:03 -0800
In-reply-to: <1021021527.3941.19.camel@willow>; from sebastian@bertho.de on Fri, May 10, 2002 at 11:05:27AM +0200
Mail-copies-to: nobody
Mail-followup-to: linux-xfs@xxxxxxxxxxx
References: <1021021527.3941.19.camel@willow>
Sender: owner-linux-xfs@xxxxxxxxxxx
User-agent: Mutt/1.2.5i
On Fri, May 10, 2002 at 11:05:27AM +0200, Sebastian Bertho wrote:
> Hi,
> 
> I have a reiserfs and a xfs partition with Debian/Woody Linux 2.4.18-xfs
> running.
> When I try to get or set the ACL of a file or directory on the xfs
> parition I get a error message "unknown error 524". On the reiserfs
> partition everything works fine (means: I can use getfacl without any
> errors).

i didn't know reiserfs supported acls..

> I tried acl-2.0.7 up to acl-2.0.11, with the latest other packages
> (dmapi, attr, xfsdump, xfsprogs) installed.
> 
> Any ideas what this error means (and maybe how to fix it ;) )?

the problem is you compiled XFS without ACL support, in this case XFS
returns the wrong errno so perror reports `Unknown error (524)'
instead of Operation not supported.  

glibc only knows about EOPNOTSUPP, ENOTSUP and ENOTSUPP are protected
by __KERNEL__  so xfs needs to change its return values when it does
not have ACL support.  i sent details of this problem to Nathan
several weeks ago but he never followed up.

-- 
Ethan Benson
http://www.alaska.net/~erbenson/

Attachment: pgpN6tCJrKTeG.pgp
Description: PGP signature

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