Fix 'zfs allow' for create time permissions

When no permission set is defined for a dataset the create time
permissions are incorrectly shown as if they were a permission set.
This change simply correct how allow permissions are displayed.

This commit also fixes a small manpage formatting issue and adds the
"zfs_allow_003_pos" test case to the ZFS Test Suite.

Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Reviewed-by: George Melikov <mail@gmelikov.ru>
Signed-off-by: loli10K <ezomori.nozomu@gmail.com>
Closes #7519 
Closes #7860
This commit is contained in:
LOLi
2018-09-06 22:11:21 +02:00
committed by Brian Behlendorf
parent cc99f275a2
commit 0238a9755b
3 changed files with 6 additions and 5 deletions
+4 -2
View File
@@ -4049,7 +4049,8 @@ command restricts modifications of the global namespace to the root user.
.Ar perm Ns | Ns @ Ns Ar setname Ns Oo , Ns Ar perm Ns | Ns @ Ns
.Ar setname Oc Ns ...
.Ar filesystem Ns | Ns Ar volume
.br
.Xc
.It Xo
.Nm
.Cm allow
.Op Fl dl
@@ -4232,7 +4233,8 @@ and can be no more than 64 characters long.
.Oo Ar perm Ns | Ns @ Ns Ar setname Ns Oo , Ns Ar perm Ns | Ns @ Ns
.Ar setname Oc Ns ... Oc
.Ar filesystem Ns | Ns Ar volume
.br
.Xc
.It Xo
.Nm
.Cm unallow
.Op Fl dlr