From: Richard Laager Date: Tue, 16 Apr 2019 17:12:08 +0000 (-0500) Subject: zfs allow refreservation needed for zfs create -V X-Git-Tag: zfs-0.8.0~60 X-Git-Url: https://git.proxmox.com/?p=mirror_zfs.git;a=commitdiff_plain;h=8750edf1f75e4f02c353be490309940f11115f23 zfs allow refreservation needed for zfs create -V When creating a non-sparse volume, zfs create sets a refreservation. Accordingly, one needs the "refreservation" ability in addition to the "create" ability in order to create a non-sparse volume. Reviewed-by: Brian Behlendorf Reported-by: github.com/homerlinux Reported-by: Matthew Ahrens Signed-off-by: Richard Laager Closes #8531 Closes #8624 --- diff --git a/man/man8/zfs.8 b/man/man8/zfs.8 index eaa98212f..36ab9353f 100644 --- a/man/man8/zfs.8 +++ b/man/man8/zfs.8 @@ -4177,7 +4177,9 @@ allow subcommand Must also have the permission that is being allowed clone subcommand Must also have the 'create' ability and 'mount' ability in the origin file system -create subcommand Must also have the 'mount' ability +create subcommand Must also have the 'mount' ability. + Must also have the 'refreservation' ability to + create a non-sparse volume. destroy subcommand Must also have the 'mount' ability diff subcommand Allows lookup of paths within a dataset given an object number, and the ability