Commit 1cebe8a
authored
libzfs: report invalid permission name in zfs allow
zfs allow with a typo (e.g. "snapshop") produced the misleading
error "operation not applicable to datasets of this type". Report
"invalid permission" instead.
Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Reviewed-by: Tony Hutter <hutter2@llnl.gov>
Signed-off-by: Christos Longros <chris.longros@gmail.com>
Closes #18401
Closes #119031 parent 4339b4e commit 1cebe8a
1 file changed
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
5138 | 5138 | | |
5139 | 5139 | | |
5140 | 5140 | | |
5141 | | - | |
| 5141 | + | |
5142 | 5142 | | |
5143 | 5143 | | |
5144 | 5144 | | |
| |||
0 commit comments