xref: /freebsd/sys/contrib/openzfs/man/man8/zfs-allow.8 (revision 1f88aa09417f1cfb3929fd37531b1ab51213c2d6)
1eda14cbcSMatt Macy.\"
2eda14cbcSMatt Macy.\" CDDL HEADER START
3eda14cbcSMatt Macy.\"
4eda14cbcSMatt Macy.\" The contents of this file are subject to the terms of the
5eda14cbcSMatt Macy.\" Common Development and Distribution License (the "License").
6eda14cbcSMatt Macy.\" You may not use this file except in compliance with the License.
7eda14cbcSMatt Macy.\"
8eda14cbcSMatt Macy.\" You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
9eda14cbcSMatt Macy.\" or http://www.opensolaris.org/os/licensing.
10eda14cbcSMatt Macy.\" See the License for the specific language governing permissions
11eda14cbcSMatt Macy.\" and limitations under the License.
12eda14cbcSMatt Macy.\"
13eda14cbcSMatt Macy.\" When distributing Covered Code, include this CDDL HEADER in each
14eda14cbcSMatt Macy.\" file and include the License file at usr/src/OPENSOLARIS.LICENSE.
15eda14cbcSMatt Macy.\" If applicable, add the following below this CDDL HEADER, with the
16eda14cbcSMatt Macy.\" fields enclosed by brackets "[]" replaced with your own identifying
17eda14cbcSMatt Macy.\" information: Portions Copyright [yyyy] [name of copyright owner]
18eda14cbcSMatt Macy.\"
19eda14cbcSMatt Macy.\" CDDL HEADER END
20eda14cbcSMatt Macy.\"
21eda14cbcSMatt Macy.\" Copyright (c) 2009 Sun Microsystems, Inc. All Rights Reserved.
22eda14cbcSMatt Macy.\" Copyright 2011 Joshua M. Clulow <josh@sysmgr.org>
23eda14cbcSMatt Macy.\" Copyright (c) 2011, 2019 by Delphix. All rights reserved.
24eda14cbcSMatt Macy.\" Copyright (c) 2013 by Saso Kiselkov. All rights reserved.
25eda14cbcSMatt Macy.\" Copyright (c) 2014, Joyent, Inc. All rights reserved.
26eda14cbcSMatt Macy.\" Copyright (c) 2014 by Adam Stevko. All rights reserved.
27eda14cbcSMatt Macy.\" Copyright (c) 2014 Integros [integros.com]
28eda14cbcSMatt Macy.\" Copyright 2019 Richard Laager. All rights reserved.
29eda14cbcSMatt Macy.\" Copyright 2018 Nexenta Systems, Inc.
30eda14cbcSMatt Macy.\" Copyright 2019 Joyent, Inc.
31eda14cbcSMatt Macy.\"
3216038816SMartin Matuska.Dd May 27, 2021
33eda14cbcSMatt Macy.Dt ZFS-ALLOW 8
34eda14cbcSMatt Macy.Os
3516038816SMartin Matuska.
36eda14cbcSMatt Macy.Sh NAME
377877fdebSMatt Macy.Nm zfs-allow
3816038816SMartin Matuska.Nd delegate ZFS administration permissions to unprivileged users
39eda14cbcSMatt Macy.Sh SYNOPSIS
407877fdebSMatt Macy.Nm zfs
41eda14cbcSMatt Macy.Cm allow
42eda14cbcSMatt Macy.Op Fl dglu
4316038816SMartin Matuska.Ar user Ns | Ns Ar group Ns Oo , Ns Ar user Ns | Ns Ar group Oc Ns …
44eda14cbcSMatt Macy.Ar perm Ns | Ns @ Ns Ar setname Ns Oo , Ns Ar perm Ns | Ns @ Ns
4516038816SMartin Matuska.Ar setname Oc Ns …
46eda14cbcSMatt Macy.Ar filesystem Ns | Ns Ar volume
477877fdebSMatt Macy.Nm zfs
48eda14cbcSMatt Macy.Cm allow
49eda14cbcSMatt Macy.Op Fl dl
50eda14cbcSMatt Macy.Fl e Ns | Ns Sy everyone
51eda14cbcSMatt Macy.Ar perm Ns | Ns @ Ns Ar setname Ns Oo , Ns Ar perm Ns | Ns @ Ns
5216038816SMartin Matuska.Ar setname Oc Ns …
53eda14cbcSMatt Macy.Ar filesystem Ns | Ns Ar volume
547877fdebSMatt Macy.Nm zfs
55eda14cbcSMatt Macy.Cm allow
56eda14cbcSMatt Macy.Fl c
57eda14cbcSMatt Macy.Ar perm Ns | Ns @ Ns Ar setname Ns Oo , Ns Ar perm Ns | Ns @ Ns
5816038816SMartin Matuska.Ar setname Oc Ns …
59eda14cbcSMatt Macy.Ar filesystem Ns | Ns Ar volume
607877fdebSMatt Macy.Nm zfs
61eda14cbcSMatt Macy.Cm allow
62eda14cbcSMatt Macy.Fl s No @ Ns Ar setname
63eda14cbcSMatt Macy.Ar perm Ns | Ns @ Ns Ar setname Ns Oo , Ns Ar perm Ns | Ns @ Ns
6416038816SMartin Matuska.Ar setname Oc Ns …
65eda14cbcSMatt Macy.Ar filesystem Ns | Ns Ar volume
667877fdebSMatt Macy.Nm zfs
67eda14cbcSMatt Macy.Cm unallow
68eda14cbcSMatt Macy.Op Fl dglru
6916038816SMartin Matuska.Ar user Ns | Ns Ar group Ns Oo , Ns Ar user Ns | Ns Ar group Oc Ns …
70eda14cbcSMatt Macy.Oo Ar perm Ns | Ns @ Ns Ar setname Ns Oo , Ns Ar perm Ns | Ns @ Ns
7116038816SMartin Matuska.Ar setname Oc Ns … Oc
72eda14cbcSMatt Macy.Ar filesystem Ns | Ns Ar volume
737877fdebSMatt Macy.Nm zfs
74eda14cbcSMatt Macy.Cm unallow
75eda14cbcSMatt Macy.Op Fl dlr
76eda14cbcSMatt Macy.Fl e Ns | Ns Sy everyone
77eda14cbcSMatt Macy.Oo Ar perm Ns | Ns @ Ns Ar setname Ns Oo , Ns Ar perm Ns | Ns @ Ns
7816038816SMartin Matuska.Ar setname Oc Ns … Oc
79eda14cbcSMatt Macy.Ar filesystem Ns | Ns Ar volume
807877fdebSMatt Macy.Nm zfs
81eda14cbcSMatt Macy.Cm unallow
82eda14cbcSMatt Macy.Op Fl r
83eda14cbcSMatt Macy.Fl c
84eda14cbcSMatt Macy.Oo Ar perm Ns | Ns @ Ns Ar setname Ns Oo , Ns Ar perm Ns | Ns @ Ns
8516038816SMartin Matuska.Ar setname Oc Ns … Oc
86eda14cbcSMatt Macy.Ar filesystem Ns | Ns Ar volume
877877fdebSMatt Macy.Nm zfs
88eda14cbcSMatt Macy.Cm unallow
89eda14cbcSMatt Macy.Op Fl r
90eda14cbcSMatt Macy.Fl s No @ Ns Ar setname
91eda14cbcSMatt Macy.Oo Ar perm Ns | Ns @ Ns Ar setname Ns Oo , Ns Ar perm Ns | Ns @ Ns
9216038816SMartin Matuska.Ar setname Oc Ns … Oc
93eda14cbcSMatt Macy.Ar filesystem Ns | Ns Ar volume
9416038816SMartin Matuska.
95eda14cbcSMatt Macy.Sh DESCRIPTION
96eda14cbcSMatt Macy.Bl -tag -width ""
97eda14cbcSMatt Macy.It Xo
987877fdebSMatt Macy.Nm zfs
99eda14cbcSMatt Macy.Cm allow
100eda14cbcSMatt Macy.Ar filesystem Ns | Ns Ar volume
101eda14cbcSMatt Macy.Xc
102eda14cbcSMatt MacyDisplays permissions that have been delegated on the specified filesystem or
103eda14cbcSMatt Macyvolume.
104eda14cbcSMatt MacySee the other forms of
105eda14cbcSMatt Macy.Nm zfs Cm allow
106eda14cbcSMatt Macyfor more information.
107eda14cbcSMatt Macy.Pp
108eda14cbcSMatt MacyDelegations are supported under Linux with the exception of
109eda14cbcSMatt Macy.Sy mount ,
110eda14cbcSMatt Macy.Sy unmount ,
111eda14cbcSMatt Macy.Sy mountpoint ,
112eda14cbcSMatt Macy.Sy canmount ,
113eda14cbcSMatt Macy.Sy rename ,
114eda14cbcSMatt Macyand
115eda14cbcSMatt Macy.Sy share .
116eda14cbcSMatt MacyThese permissions cannot be delegated because the Linux
117eda14cbcSMatt Macy.Xr mount 8
118eda14cbcSMatt Macycommand restricts modifications of the global namespace to the root user.
119eda14cbcSMatt Macy.It Xo
1207877fdebSMatt Macy.Nm zfs
121eda14cbcSMatt Macy.Cm allow
122eda14cbcSMatt Macy.Op Fl dglu
12316038816SMartin Matuska.Ar user Ns | Ns Ar group Ns Oo , Ns Ar user Ns | Ns Ar group Oc Ns …
124eda14cbcSMatt Macy.Ar perm Ns | Ns @ Ns Ar setname Ns Oo , Ns Ar perm Ns | Ns @ Ns
12516038816SMartin Matuska.Ar setname Oc Ns …
126eda14cbcSMatt Macy.Ar filesystem Ns | Ns Ar volume
127eda14cbcSMatt Macy.Xc
128eda14cbcSMatt Macy.It Xo
1297877fdebSMatt Macy.Nm zfs
130eda14cbcSMatt Macy.Cm allow
131eda14cbcSMatt Macy.Op Fl dl
132eda14cbcSMatt Macy.Fl e Ns | Ns Sy everyone
133eda14cbcSMatt Macy.Ar perm Ns | Ns @ Ns Ar setname Ns Oo , Ns Ar perm Ns | Ns @ Ns
13416038816SMartin Matuska.Ar setname Oc Ns …
135eda14cbcSMatt Macy.Ar filesystem Ns | Ns Ar volume
136eda14cbcSMatt Macy.Xc
137eda14cbcSMatt MacyDelegates ZFS administration permission for the file systems to non-privileged
138eda14cbcSMatt Macyusers.
139eda14cbcSMatt Macy.Bl -tag -width "-d"
140eda14cbcSMatt Macy.It Fl d
141eda14cbcSMatt MacyAllow only for the descendent file systems.
142eda14cbcSMatt Macy.It Fl e Ns | Ns Sy everyone
143eda14cbcSMatt MacySpecifies that the permissions be delegated to everyone.
14416038816SMartin Matuska.It Fl g Ar group Ns Oo , Ns Ar group Oc Ns …
145eda14cbcSMatt MacyExplicitly specify that permissions are delegated to the group.
146eda14cbcSMatt Macy.It Fl l
147eda14cbcSMatt MacyAllow
148eda14cbcSMatt Macy.Qq locally
149eda14cbcSMatt Macyonly for the specified file system.
15016038816SMartin Matuska.It Fl u Ar user Ns Oo , Ns Ar user Oc Ns …
151eda14cbcSMatt MacyExplicitly specify that permissions are delegated to the user.
15216038816SMartin Matuska.It Ar user Ns | Ns Ar group Ns Oo , Ns Ar user Ns | Ns Ar group Oc Ns …
153eda14cbcSMatt MacySpecifies to whom the permissions are delegated.
154eda14cbcSMatt MacyMultiple entities can be specified as a comma-separated list.
155eda14cbcSMatt MacyIf neither of the
156eda14cbcSMatt Macy.Fl gu
157eda14cbcSMatt Macyoptions are specified, then the argument is interpreted preferentially as the
158eda14cbcSMatt Macykeyword
159eda14cbcSMatt Macy.Sy everyone ,
160eda14cbcSMatt Macythen as a user name, and lastly as a group name.
161eda14cbcSMatt MacyTo specify a user or group named
162eda14cbcSMatt Macy.Qq everyone ,
163eda14cbcSMatt Macyuse the
164eda14cbcSMatt Macy.Fl g
165eda14cbcSMatt Macyor
166eda14cbcSMatt Macy.Fl u
167eda14cbcSMatt Macyoptions.
168eda14cbcSMatt MacyTo specify a group with the same name as a user, use the
169eda14cbcSMatt Macy.Fl g
170eda14cbcSMatt Macyoptions.
171eda14cbcSMatt Macy.It Xo
172eda14cbcSMatt Macy.Ar perm Ns | Ns @ Ns Ar setname Ns Oo , Ns Ar perm Ns | Ns @ Ns
17316038816SMartin Matuska.Ar setname Oc Ns …
174eda14cbcSMatt Macy.Xc
175eda14cbcSMatt MacyThe permissions to delegate.
176eda14cbcSMatt MacyMultiple permissions may be specified as a comma-separated list.
177eda14cbcSMatt MacyPermission names are the same as ZFS subcommand and property names.
178eda14cbcSMatt MacySee the property list below.
179eda14cbcSMatt MacyProperty set names, which begin with
180eda14cbcSMatt Macy.Sy @ ,
181eda14cbcSMatt Macymay be specified.
182eda14cbcSMatt MacySee the
183eda14cbcSMatt Macy.Fl s
184eda14cbcSMatt Macyform below for details.
185eda14cbcSMatt Macy.El
186eda14cbcSMatt Macy.Pp
187eda14cbcSMatt MacyIf neither of the
188eda14cbcSMatt Macy.Fl dl
189eda14cbcSMatt Macyoptions are specified, or both are, then the permissions are allowed for the
190eda14cbcSMatt Macyfile system or volume, and all of its descendents.
191eda14cbcSMatt Macy.Pp
192eda14cbcSMatt MacyPermissions are generally the ability to use a ZFS subcommand or change a ZFS
193eda14cbcSMatt Macyproperty.
194eda14cbcSMatt MacyThe following permissions are available:
19516038816SMartin Matuska.TS
19616038816SMartin Matuskal l l .
197eda14cbcSMatt MacyNAME	TYPE	NOTES
19816038816SMartin Matuska_	_	_
19916038816SMartin Matuskaallow	subcommand	Must also have the permission that is being allowed
20016038816SMartin Matuskabookmark	subcommand
20116038816SMartin Matuskaclone	subcommand	Must also have the \fBcreate\fR ability and \fBmount\fR ability in the origin file system
20216038816SMartin Matuskacreate	subcommand	Must also have the \fBmount\fR ability. Must also have the \fBrefreservation\fR ability to create a non-sparse volume.
20316038816SMartin Matuskadestroy	subcommand	Must also have the \fBmount\fR ability
20416038816SMartin Matuskadiff	subcommand	Allows lookup of paths within a dataset given an object number, and the ability to create snapshots necessary to \fBzfs diff\fR.
205f9693befSMartin Matuskahold	subcommand	Allows adding a user hold to a snapshot
206*1f88aa09SMartin Matuskaload-key	subcommand	Allows loading and unloading of encryption key (see \fBzfs load-key\fR and \fBzfs unload-key\fR).
207*1f88aa09SMartin Matuskachange-key	subcommand	Allows changing an encryption key via \fBzfs change-key\fR.
20816038816SMartin Matuskamount	subcommand	Allows mounting/umounting ZFS datasets
20916038816SMartin Matuskapromote	subcommand	Must also have the \fBmount\fR and \fBpromote\fR ability in the origin file system
21016038816SMartin Matuskareceive	subcommand	Must also have the \fBmount\fR and \fBcreate\fR ability
21116038816SMartin Matuskarelease	subcommand	Allows releasing a user hold which might destroy the snapshot
21216038816SMartin Matuskarename	subcommand	Must also have the \fBmount\fR and \fBcreate\fR ability in the new parent
21316038816SMartin Matuskarollback	subcommand	Must also have the \fBmount\fR ability
214eda14cbcSMatt Macysend	subcommand
21516038816SMartin Matuskashare	subcommand	Allows sharing file systems over NFS or SMB protocols
21616038816SMartin Matuskasnapshot	subcommand	Must also have the \fBmount\fR ability
217eda14cbcSMatt Macy
21816038816SMartin Matuskagroupquota	other	Allows accessing any \fBgroupquota@\fI...\fR property
219*1f88aa09SMartin Matuskagroupobjquota	other	Allows accessing any \fBgroupobjquota@\fI...\fR property
22016038816SMartin Matuskagroupused	other	Allows reading any \fBgroupused@\fI...\fR property
221*1f88aa09SMartin Matuskagroupobjused	other	Allows reading any \fBgroupobjused@\fI...\fR property
222eda14cbcSMatt Macyuserprop	other	Allows changing any user property
22316038816SMartin Matuskauserquota	other	Allows accessing any \fBuserquota@\fI...\fR property
224*1f88aa09SMartin Matuskauserobjquota	other	Allows accessing any \fBuserobjquota@\fI...\fR property
22516038816SMartin Matuskauserused	other	Allows reading any \fBuserused@\fI...\fR property
226*1f88aa09SMartin Matuskauserobjused	other	Allows reading any \fBuserobjused@\fI...\fR property
22716038816SMartin Matuskaprojectobjquota	other	Allows accessing any \fBprojectobjquota@\fI...\fR property
22816038816SMartin Matuskaprojectquota	other	Allows accessing any \fBprojectquota@\fI...\fR property
22916038816SMartin Matuskaprojectobjused	other	Allows reading any \fBprojectobjused@\fI...\fR property
23016038816SMartin Matuskaprojectused	other	Allows reading any \fBprojectused@\fI...\fR property
231eda14cbcSMatt Macy
232eda14cbcSMatt Macyaclinherit	property
233*1f88aa09SMartin Matuskaaclmode	property
234eda14cbcSMatt Macyacltype	property
235eda14cbcSMatt Macyatime	property
236eda14cbcSMatt Macycanmount	property
237eda14cbcSMatt Macycasesensitivity	property
238eda14cbcSMatt Macychecksum	property
239eda14cbcSMatt Macycompression	property
240*1f88aa09SMartin Matuskacontext	property
241eda14cbcSMatt Macycopies	property
242*1f88aa09SMartin Matuskadedup	property
243*1f88aa09SMartin Matuskadefcontext	property
244eda14cbcSMatt Macydevices	property
245*1f88aa09SMartin Matuskadnodesize	property
246*1f88aa09SMartin Matuskaencryption	property
247eda14cbcSMatt Macyexec	property
248eda14cbcSMatt Macyfilesystem_limit	property
249*1f88aa09SMartin Matuskafscontext	property
250*1f88aa09SMartin Matuskakeyformat	property
251*1f88aa09SMartin Matuskakeylocation	property
252*1f88aa09SMartin Matuskalogbias	property
253*1f88aa09SMartin Matuskamlslabel	property
254eda14cbcSMatt Macymountpoint	property
255eda14cbcSMatt Macynbmand	property
256eda14cbcSMatt Macynormalization	property
257*1f88aa09SMartin Matuskaoverlay	property
258*1f88aa09SMartin Matuskapbkdf2iters	property
259eda14cbcSMatt Macyprimarycache	property
260eda14cbcSMatt Macyquota	property
261eda14cbcSMatt Macyreadonly	property
262eda14cbcSMatt Macyrecordsize	property
263*1f88aa09SMartin Matuskaredundant_metadata	property
264eda14cbcSMatt Macyrefquota	property
265eda14cbcSMatt Macyrefreservation	property
266*1f88aa09SMartin Matuskarelatime	property
267eda14cbcSMatt Macyreservation	property
268*1f88aa09SMartin Matuskarootcontext	property
269eda14cbcSMatt Macysecondarycache	property
270eda14cbcSMatt Macysetuid	property
271eda14cbcSMatt Macysharenfs	property
272eda14cbcSMatt Macysharesmb	property
273*1f88aa09SMartin Matuskasnapdev	property
274eda14cbcSMatt Macysnapdir	property
275eda14cbcSMatt Macysnapshot_limit	property
276*1f88aa09SMartin Matuskaspecial_small_blocks	property
277*1f88aa09SMartin Matuskasync	property
278eda14cbcSMatt Macyutf8only	property
279eda14cbcSMatt Macyversion	property
280eda14cbcSMatt Macyvolblocksize	property
281*1f88aa09SMartin Matuskavolmode	property
282eda14cbcSMatt Macyvolsize	property
283eda14cbcSMatt Macyvscan	property
284eda14cbcSMatt Macyxattr	property
285eda14cbcSMatt Macyzoned	property
28616038816SMartin Matuska.TE
287eda14cbcSMatt Macy.It Xo
2887877fdebSMatt Macy.Nm zfs
289eda14cbcSMatt Macy.Cm allow
290eda14cbcSMatt Macy.Fl c
291eda14cbcSMatt Macy.Ar perm Ns | Ns @ Ns Ar setname Ns Oo , Ns Ar perm Ns | Ns @ Ns
29216038816SMartin Matuska.Ar setname Oc Ns …
293eda14cbcSMatt Macy.Ar filesystem Ns | Ns Ar volume
294eda14cbcSMatt Macy.Xc
295eda14cbcSMatt MacySets
296eda14cbcSMatt Macy.Qq create time
297eda14cbcSMatt Macypermissions.
298eda14cbcSMatt MacyThese permissions are granted
299eda14cbcSMatt Macy.Pq locally
300eda14cbcSMatt Macyto the creator of any newly-created descendent file system.
301eda14cbcSMatt Macy.It Xo
3027877fdebSMatt Macy.Nm zfs
303eda14cbcSMatt Macy.Cm allow
304eda14cbcSMatt Macy.Fl s No @ Ns Ar setname
305eda14cbcSMatt Macy.Ar perm Ns | Ns @ Ns Ar setname Ns Oo , Ns Ar perm Ns | Ns @ Ns
30616038816SMartin Matuska.Ar setname Oc Ns …
307eda14cbcSMatt Macy.Ar filesystem Ns | Ns Ar volume
308eda14cbcSMatt Macy.Xc
309eda14cbcSMatt MacyDefines or adds permissions to a permission set.
310eda14cbcSMatt MacyThe set can be used by other
311eda14cbcSMatt Macy.Nm zfs Cm allow
312eda14cbcSMatt Macycommands for the specified file system and its descendents.
313eda14cbcSMatt MacySets are evaluated dynamically, so changes to a set are immediately reflected.
314eda14cbcSMatt MacyPermission sets follow the same naming restrictions as ZFS file systems, but the
315eda14cbcSMatt Macyname must begin with
316eda14cbcSMatt Macy.Sy @ ,
317eda14cbcSMatt Macyand can be no more than 64 characters long.
318eda14cbcSMatt Macy.It Xo
3197877fdebSMatt Macy.Nm zfs
320eda14cbcSMatt Macy.Cm unallow
321eda14cbcSMatt Macy.Op Fl dglru
32216038816SMartin Matuska.Ar user Ns | Ns Ar group Ns Oo , Ns Ar user Ns | Ns Ar group Oc Ns …
323eda14cbcSMatt Macy.Oo Ar perm Ns | Ns @ Ns Ar setname Ns Oo , Ns Ar perm Ns | Ns @ Ns
32416038816SMartin Matuska.Ar setname Oc Ns … Oc
325eda14cbcSMatt Macy.Ar filesystem Ns | Ns Ar volume
326eda14cbcSMatt Macy.Xc
327eda14cbcSMatt Macy.It Xo
3287877fdebSMatt Macy.Nm zfs
329eda14cbcSMatt Macy.Cm unallow
330eda14cbcSMatt Macy.Op Fl dlr
331eda14cbcSMatt Macy.Fl e Ns | Ns Sy everyone
332eda14cbcSMatt Macy.Oo Ar perm Ns | Ns @ Ns Ar setname Ns Oo , Ns Ar perm Ns | Ns @ Ns
33316038816SMartin Matuska.Ar setname Oc Ns … Oc
334eda14cbcSMatt Macy.Ar filesystem Ns | Ns Ar volume
335eda14cbcSMatt Macy.Xc
336eda14cbcSMatt Macy.It Xo
3377877fdebSMatt Macy.Nm zfs
338eda14cbcSMatt Macy.Cm unallow
339eda14cbcSMatt Macy.Op Fl r
340eda14cbcSMatt Macy.Fl c
341eda14cbcSMatt Macy.Oo Ar perm Ns | Ns @ Ns Ar setname Ns Oo , Ns Ar perm Ns | Ns @ Ns
34216038816SMartin Matuska.Ar setname Oc Ns … Oc
343eda14cbcSMatt Macy.Ar filesystem Ns | Ns Ar volume
344eda14cbcSMatt Macy.Xc
345eda14cbcSMatt MacyRemoves permissions that were granted with the
346eda14cbcSMatt Macy.Nm zfs Cm allow
347eda14cbcSMatt Macycommand.
348eda14cbcSMatt MacyNo permissions are explicitly denied, so other permissions granted are still in
349eda14cbcSMatt Macyeffect.
350eda14cbcSMatt MacyFor example, if the permission is granted by an ancestor.
351eda14cbcSMatt MacyIf no permissions are specified, then all permissions for the specified
352eda14cbcSMatt Macy.Ar user ,
353eda14cbcSMatt Macy.Ar group ,
354eda14cbcSMatt Macyor
355eda14cbcSMatt Macy.Sy everyone
356eda14cbcSMatt Macyare removed.
357eda14cbcSMatt MacySpecifying
358eda14cbcSMatt Macy.Sy everyone
359eda14cbcSMatt Macy.Po or using the
360eda14cbcSMatt Macy.Fl e
361eda14cbcSMatt Macyoption
362eda14cbcSMatt Macy.Pc
363eda14cbcSMatt Macyonly removes the permissions that were granted to everyone, not all permissions
364eda14cbcSMatt Macyfor every user and group.
365eda14cbcSMatt MacySee the
366eda14cbcSMatt Macy.Nm zfs Cm allow
367eda14cbcSMatt Macycommand for a description of the
368eda14cbcSMatt Macy.Fl ldugec
369eda14cbcSMatt Macyoptions.
370eda14cbcSMatt Macy.Bl -tag -width "-r"
371eda14cbcSMatt Macy.It Fl r
372eda14cbcSMatt MacyRecursively remove the permissions from this file system and all descendents.
373eda14cbcSMatt Macy.El
374eda14cbcSMatt Macy.It Xo
3757877fdebSMatt Macy.Nm zfs
376eda14cbcSMatt Macy.Cm unallow
377eda14cbcSMatt Macy.Op Fl r
378eda14cbcSMatt Macy.Fl s No @ Ns Ar setname
379eda14cbcSMatt Macy.Oo Ar perm Ns | Ns @ Ns Ar setname Ns Oo , Ns Ar perm Ns | Ns @ Ns
38016038816SMartin Matuska.Ar setname Oc Ns … Oc
381eda14cbcSMatt Macy.Ar filesystem Ns | Ns Ar volume
382eda14cbcSMatt Macy.Xc
383eda14cbcSMatt MacyRemoves permissions from a permission set.
384eda14cbcSMatt MacyIf no permissions are specified, then all permissions are removed, thus removing
385eda14cbcSMatt Macythe set entirely.
386eda14cbcSMatt Macy.El
387