Files
mirror_zfs/lib/libzfs
Brian Behlendorf 2c7549fb6f Fix zpool create -o <property> error message
When `zpool create -o <property>` is run without root permissions
and the pool property requested is not specifically enumerated in
zpool_valid_proplist().  Then an incorrect error message referring
to an invalid property is printed rather than the expected permission
denied error.

Specifying a pool property at create time should be handled the same
way as filesystem properties in zfs_valid_proplist().  There should
not be default zfs_error_aux() set for properties which are not
listed.

Reviewed-by: loli10K <ezomori.nozomu@gmail.com>
Reviewed-by: Kjeld Schouten <kjeld@schouten-lebbing.nl>
Signed-off-by: Brian Behlendorf <behlendorf1@llnl.gov>
Closes #9550
Closes #9568
2020-01-22 13:49:04 -08:00
..
2014-08-28 07:59:43 -07:00
2014-08-28 07:59:43 -07:00
2020-01-22 13:48:59 -08:00
2020-01-22 13:48:59 -08:00
2019-03-21 10:13:01 -07:00
2020-01-22 13:48:59 -08:00