Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 3 May 2021 14:11:59 +0300
From:      Gleb Popov <arrowd@freebsd.org>
To:        Ryan Moeller <ryan@ixsystems.com>
Cc:        freebsd-hackers <freebsd-hackers@freebsd.org>
Subject:   Re: ACLs are not reflected in FS extended attributes
Message-ID:  <CALH631mxQFPehpTqQBhuAsKW5vNiEN0MQ2kcyuY3mjSpcFUAiw@mail.gmail.com>
In-Reply-To: <CAGuotKB3-oLP05syFpQ%2B7%2B6ixeuSqBO5MC1ZpiAb%2BMNKyarh2g@mail.gmail.com>
References:  <CALH631m8bC5SoRhC1Q1X1%2BmN7tgT3Ti%2BTwhronSNZeX3Qn%2Bg-g@mail.gmail.com> <CAGuotKB3-oLP05syFpQ%2B7%2B6ixeuSqBO5MC1ZpiAb%2BMNKyarh2g@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, Apr 27, 2021 at 8:58 PM Ryan Moeller <ryan@ixsystems.com> wrote:

> ACLs on FreeBSD are not exposed through extended attributes but rather
> acl(9) interfaces in VFS implemented by each filesystem. There is a
> good selection of library interfaces already in acl(3).
> acl_extended_file(3) looks like it could be pretty much a convenience
> wrapper around acl_is_trivial_np(3). Hope that helps point you in the
> right direction!
>
> -Ryan
>

Thanks for your reply. Indeed, I used acl_is_trivial_np to implement this
function and it seems to work!



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CALH631mxQFPehpTqQBhuAsKW5vNiEN0MQ2kcyuY3mjSpcFUAiw>