setfacl fix

Steve French smfrench at
Sat Nov 16 14:38:09 MST 2013

Makes sense to add a setfacl/getfacl test to xfstest and was trying to
build updated xfstests and look at what has changed but ran into a
strange error building xfstests and didn't see an obvious answer when
googling for it.  Any idea how to workaround the build failure?

Building src
    [CC]    dirstress
gcc: error: /lib64/ Too many levels of symbolic links

These are the steps I went through from a fairly clean Fedora 19 64
system before the make failure:

git clone git://
git clone git://
sudo yum install uuid-devel e2fsprogs-devel libuuid-devel
libattr-devel libacl-devel
cd xfsprogs
sudo make install-qa
cd ../xfstests
make (which failed with the symlink error above)

On Sat, Nov 16, 2013 at 8:55 AM, Christoph Hellwig <hch at> wrote:
> On Fri, Nov 15, 2013 at 08:53:12PM -0600, Steve French wrote:
>> From: Steve French <smfrench at>
>> Date: Fri, 15 Nov 2013 20:41:32 -0600
>> Subject: [PATCH] [CIFS] setfacl removes part of ACL when setting POSIX ACLs to
>>  Samba
>> setfacl over cifs mounts can remove the default ACL when setting the
>> (non-default part of) the ACL and vice versa (we were leaving at 0
>> rather than setting to -1 the count field for the unaffected
>> half of the ACL.  For example notice the setfacl removed
>> the default ACL in this sequence:
> Can you send a patch to xfstests to make sure we regression test for
> this issue on all filesystems?



More information about the samba-technical mailing list