Skip to content

Commit 5619b3f

Browse files
mtelkaDan McDonald
authored andcommitted
4181 zfs(1m): 'zfs allow' examples in the man page are outdated
Reviewed by: Richard Lowe <richlowe@richlowe.net> Reviewed by: Gordon Ross <gordon.ross@nexenta.com> Reviewed by: Yuri Pankov <yuri.pankov@nexenta.com> Approved by: Dan McDonald <danmcd@omniti.com>
1 parent 62824ef commit 5619b3f

File tree

1 file changed

+22
-31
lines changed

1 file changed

+22
-31
lines changed

usr/src/man/man1m/zfs.1m

Lines changed: 22 additions & 31 deletions
Original file line numberDiff line numberDiff line change
@@ -24,11 +24,11 @@
2424
.\" Copyright 2011 Joshua M. Clulow <josh@sysmgr.org>
2525
.\" Copyright (c) 2014 by Delphix. All rights reserved.
2626
.\" Copyright (c) 2013 by Saso Kiselkov. All rights reserved.
27-
.\" Copyright 2013 Nexenta Systems, Inc. All Rights Reserved.
2827
.\" Copyright (c) 2014, Joyent, Inc. All rights reserved.
2928
.\" Copyright (c) 2014 by Adam Stevko. All rights reserved.
29+
.\" Copyright 2014 Nexenta Systems, Inc. All Rights Reserved.
3030
.\"
31-
.TH ZFS 1M "March 6, 2014"
31+
.TH ZFS 1M "November 11, 2014"
3232
.SH NAME
3333
zfs \- configures ZFS file systems
3434
.SH SYNOPSIS
@@ -4038,10 +4038,9 @@ permissions on \fBtank/cindys\fR are also displayed.
40384038
.nf
40394039
# \fBzfs allow cindys create,destroy,mount,snapshot tank/cindys\fR
40404040
# \fBzfs allow tank/cindys\fR
4041-
-------------------------------------------------------------
4042-
Local+Descendent permissions on (tank/cindys)
4043-
user cindys create,destroy,mount,snapshot
4044-
-------------------------------------------------------------
4041+
---- Permissions on tank/cindys --------------------------------------
4042+
Local+Descendent permissions:
4043+
user cindys create,destroy,mount,snapshot
40454044
.fi
40464045
.in -2
40474046
.sp
@@ -4074,12 +4073,11 @@ The permissions on \fBtank/users\fR are also displayed.
40744073
# \fBzfs allow staff create,mount tank/users\fR
40754074
# \fBzfs allow -c destroy tank/users\fR
40764075
# \fBzfs allow tank/users\fR
4077-
-------------------------------------------------------------
4078-
Create time permissions on (tank/users)
4079-
create,destroy
4080-
Local+Descendent permissions on (tank/users)
4081-
group staff create,mount
4082-
-------------------------------------------------------------
4076+
---- Permissions on tank/users ---------------------------------------
4077+
Permission sets:
4078+
destroy
4079+
Local+Descendent permissions:
4080+
group staff create,mount
40834081
.fi
40844082
.in -2
40854083
.sp
@@ -4098,14 +4096,11 @@ displayed.
40984096
# \fBzfs allow -s @pset create,destroy,snapshot,mount tank/users\fR
40994097
# \fBzfs allow staff @pset tank/users\fR
41004098
# \fBzfs allow tank/users\fR
4101-
-------------------------------------------------------------
4102-
Permission sets on (tank/users)
4099+
---- Permissions on tank/users ---------------------------------------
4100+
Permission sets:
41034101
@pset create,destroy,mount,snapshot
4104-
Create time permissions on (tank/users)
4105-
create,destroy
4106-
Local+Descendent permissions on (tank/users)
4107-
group staff @pset,create,mount
4108-
-------------------------------------------------------------
4102+
Local+Descendent permissions:
4103+
group staff @pset
41094104
.fi
41104105
.in -2
41114106
.sp
@@ -4123,14 +4118,13 @@ also displayed.
41234118
.nf
41244119
# \fBzfs allow cindys quota,reservation users/home\fR
41254120
# \fBzfs allow users/home\fR
4126-
-------------------------------------------------------------
4127-
Local+Descendent permissions on (users/home)
4121+
---- Permissions on users/home ---------------------------------------
4122+
Local+Descendent permissions:
41284123
user cindys quota,reservation
4129-
-------------------------------------------------------------
41304124
cindys% \fBzfs set quota=10G users/home/marks\fR
41314125
cindys% \fBzfs get quota users/home/marks\fR
4132-
NAME PROPERTY VALUE SOURCE
4133-
users/home/marks quota 10G local
4126+
NAME PROPERTY VALUE SOURCE
4127+
users/home/marks quota 10G local
41344128
.fi
41354129
.in -2
41364130
.sp
@@ -4148,14 +4142,11 @@ The following example shows how to remove the snapshot permission from the
41484142
.nf
41494143
# \fBzfs unallow staff snapshot tank/users\fR
41504144
# \fBzfs allow tank/users\fR
4151-
-------------------------------------------------------------
4152-
Permission sets on (tank/users)
4145+
---- Permissions on tank/users ---------------------------------------
4146+
Permission sets:
41534147
@pset create,destroy,mount,snapshot
4154-
Create time permissions on (tank/users)
4155-
create,destroy
4156-
Local+Descendent permissions on (tank/users)
4157-
group staff @pset,create,mount
4158-
-------------------------------------------------------------
4148+
Local+Descendent permissions:
4149+
group staff @pset
41594150
.fi
41604151
.in -2
41614152
.sp

0 commit comments

Comments
 (0)