git/list[1] front-page[2] threads[3] people[4] search[5] about
 

[FreeBSD? BUG]: t1304-default-acl.sh fails on FreeBSD 8.1-STABLE

From
Ævar Arnfjörð Bjarmason <avarab@gmail.com>
Date
Aug 17, 2010, 03:17 UTC
Message-ID
<AANLkTikTu2vSCMPqtFvD964XsURayf2MNGSVW1nAaY1d@mail.gmail.com>

t/t1304-default-acl.sh fails on FreeBSD, seemingly because setfacl on FreeBSD doesn't have a meaningful return code:

    $ setfacl -m u:root:rwx . ; echo $?
    setfacl: .: acl_get_file() failed: Operation not supported
    0
But on Linux:
    $ setfacl -m u:root:rwx . ; echo $?
    setfacl: .: Operation not supported
    1
The Solaris setfacl also behaves.
The FreeBSD manpage says this:
    EXIT STATUS
         The setfacl utility exits 0 on success, and >0 if an error occurs.
Anyone here know more about FreeBSD to shed light on this?
Next: Ævar Arnfjörð Bjarmason
Message 1 of 2 in “[FreeBSD? BUG]: t1304-default-acl.sh fails on FreeBSD 8.1-STABLE”
  1. Ævar Arnfjörð BjarmasonAug 17, 2010
  2. Ævar Arnfjörð BjarmasonAug 18, 2010

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.