Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 6 Apr 2018 15:31:19 +0300
From:      Andriy Gapon <avg@FreeBSD.org>
To:        Stilez Stilezy <stilezy@gmail.com>, 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:  <7eba73db-3097-5c8a-eb2c-e3880fb5b501@FreeBSD.org>
In-Reply-To: <CAFwhr76YOacX7kS87M-xRhcnkQGYGcmpYz%2BKU6rok2b-Wt_GHA@mail.gmail.com>
References:  <CAFwhr76YOacX7kS87M-xRhcnkQGYGcmpYz%2BKU6rok2b-Wt_GHA@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On 05/04/2018 18:53, Stilez Stilezy wrote:
> I'm trying to use the setuid property in ZFS.
> 
> The man pages are a bit conflicted but overall man zfs seems most specific
> and implies the property is valid (man zfs says use setuid=on and it'll
> work, man mount says use -o suiddir but won't work except on UFS).

Please read in the manual what ZFS setuid property means.
By the way, it's on by default, so you would typically turn it off if you don't
want suid binaries.  And, of course, suiddir != setuid and ZFS does not support
it, afaict.

TLDR: yes, setuid works; no, it's not suiddir.

-- 
Andriy Gapon



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?7eba73db-3097-5c8a-eb2c-e3880fb5b501>