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/
pgpN6tCJrKTeG.pgp
Description: PGP signature
|