On Mon, May 4, 2009 at 3:26 AM, Bruno Haible <br...@clisp.org> wrote: > It is pretty much clear that after removing all ACLs, > 'func_test_has_acl tmpfile0 no' will work. The point of this test here is > whether it's possible to remove the 'mask' part of the ACL only. If > 'setfacl -x mask: tmpfile0' leads to an error on FreeBSD, what is the > syntax that has to be used? > Is it setfacl -x mask:: tmpfile0 ? > Or maybe setfacl -x mask::1 tmpfile0 ?
Neither of these work, nor do a few other variants I tried; most just result in an error of "cannot remove non-existent acl entry" or "invalid argument". Completely clearing the acl was the only way I could see to clear the mask. I'll dig around the freebsd sources sometime this week to see what's happening. -- David