git@vger.kernel.org mailing list mirror (one of many)
 help / color / mirror / code / Atom feed
* [FreeBSD? BUG]: t1304-default-acl.sh fails on FreeBSD 8.1-STABLE
@ 2010-08-17  3:17 Ævar Arnfjörð Bjarmason
  2010-08-18 19:14 ` Ævar Arnfjörð Bjarmason
  0 siblings, 1 reply; 2+ messages in thread
From: Ævar Arnfjörð Bjarmason @ 2010-08-17  3:17 UTC (permalink / raw)
  To: Git Mailing List, Matthieu Moy

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?

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [FreeBSD? BUG]: t1304-default-acl.sh fails on FreeBSD 8.1-STABLE
  2010-08-17  3:17 [FreeBSD? BUG]: t1304-default-acl.sh fails on FreeBSD 8.1-STABLE Ævar Arnfjörð Bjarmason
@ 2010-08-18 19:14 ` Ævar Arnfjörð Bjarmason
  0 siblings, 0 replies; 2+ messages in thread
From: Ævar Arnfjörð Bjarmason @ 2010-08-18 19:14 UTC (permalink / raw)
  To: Git Mailing List, Matthieu Moy

On Tue, Aug 17, 2010 at 03:17, Ævar Arnfjörð Bjarmason <avarab@gmail.com> wrote:
> 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?

I sent this upstream with a patch:
http://www.freebsd.org/cgi/query-pr.cgi?pr=149780

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2010-08-18 19:14 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-08-17  3:17 [FreeBSD? BUG]: t1304-default-acl.sh fails on FreeBSD 8.1-STABLE Ævar Arnfjörð Bjarmason
2010-08-18 19:14 ` Ævar Arnfjörð Bjarmason

Code repositories for project(s) associated with this public inbox

	https://80x24.org/mirrors/git.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).