Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 10 Apr 2018 08:45:30 +0300
From:      Andriy Gapon <avg@FreeBSD.org>
To:        Stilez <stilezy@gmail.com>
Cc:        freebsd-fs <freebsd-fs@FreeBSD.org>
Subject:   Re: Does setuid=on work on ZFS datasets, or is the man page for zfs misleading?
Message-ID:  <26e3c3b5-9baf-5499-0e12-81486cc8c839@FreeBSD.org>
In-Reply-To: <1629c0d63d0.2756.49a377fccbf53440a4b582c142a1ed88@gmail.com>
References:  <CAFwhr76YOacX7kS87M-xRhcnkQGYGcmpYz%2BKU6rok2b-Wt_GHA@mail.gmail.com> <7eba73db-3097-5c8a-eb2c-e3880fb5b501@FreeBSD.org> <CAFwhr77WP_rDb1%2BAW-hbe8vcWdnpa-KXU0xjMryvmX-isa5W7g@mail.gmail.com> <672e2c84-b906-4073-0206-7eb1720adc7e@FreeBSD.org> <1629c0d63d0.2756.49a377fccbf53440a4b582c142a1ed88@gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On 06/04/2018 20:42, Stilez wrote:
> I had looked at ACLs before asking. They don't work for this, your info looks
> wrong AFAIK. They only allow inheritance of permissions, not ownership. None of
> the ACL flags and nothing in setfacl man page, says anything about ownership
> inheritance.

That's correct.

> I'm using NFSv4 of it matters, but I'm guessing that's the default
> for ZFS based file hierarchies?

Yes.

> So the question stands - is there any working method to ensure files in a ZFS
> dataset or contained dir have a predetermined owner? Including within ACLs if I
> missed the right page?

My assumption was that the ownership change was not an end goal and there was a
wider context related to access management.
In other words, why do you want to change file ownership unless you want to
change the file's access rights...  In my opinion, Unix file ownership is a part
of Unix file access model.

-- 
Andriy Gapon



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?26e3c3b5-9baf-5499-0e12-81486cc8c839>